Re: How to read a file in UBIFS file system from barebox

2012-11-30 Thread Franck Jullien
2012/11/30 Renaud Barbier : > On 30/11/2012 14:00, Madhu koriginja wrote: > > Hi All, > I am using UBIFS file system. My kernel is placed in the file > system (/boot/uImage). I want to read the kernel(uImage) from UBIFS file > system at barebox to load the kernel and boot it. > Please g

Re: How to read a file in UBIFS file system from barebox

2012-11-30 Thread Renaud Barbier
On 30/11/2012 14:00, Madhu koriginja wrote: Hi All, I am using UBIFS file system. My kernel is placed in the file system (/boot/uImage). I want to read the kernel(uImage) from UBIFS file system at barebox to load the kernel and boot it. Please give me some ideas how to get this fun

Re: How to read a file in UBIFS file system from barebox

2012-11-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:30 Fri 30 Nov , Madhu koriginja wrote: >Hi All, >I am using UBIFS file system. My kernel is placed in the file >system (/boot/uImage). I want to read the kernel(uImage) from UBIFS file >system at barebox to load the kernel and boot it. >Please give me some

How to read a file in UBIFS file system from barebox

2012-11-30 Thread Madhu koriginja
Hi All, I am using UBIFS file system. My kernel is placed in the file system (/boot/uImage). I want to read the kernel(uImage) from UBIFS file system at barebox to load the kernel and boot it. Please give me some ideas how to get this functionality. Advance thanks,

Re: gunzip error when uncompress to buf

2012-11-30 Thread 张忠山
In message <20121130113809.gc8...@game.jcrosoft.org> Jean-Christophe PLAGNIOL-VILLARD wrote: > On 19:00 Fri 30 Nov , 张忠山 wrote: > > On host use the flowwing cmd build a gziped file > > > > > > $ gzip -c9 zbarebox.bin > xxx > this is a binary with a decompressor insode you just

Re: gunzip error when uncompress to buf

2012-11-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:00 Fri 30 Nov , 张忠山 wrote: > On host use the flowwing cmd build a gziped file > > > $ gzip -c9 zbarebox.bin > xxx this is a binary with a decompressor insode you just need to flash it Best Regards, J. ___ barebox mailing list

[Patch] ARM/MXS/i.MX28: distinguish POR and wake-up event correctly

2012-11-30 Thread Juergen Beisert
When the built-in RTC in the i.MX28 is programmed to wake-up the SoC, the RTC reports two events: RST and WAKE. RST is okay in this case, because the PMIC was really powered down. But the real event is the WAKE from the RTC and should have precedence over the RST event. So, report the WAKE event fo

Howto known uncompressed length when uncompress_fd_to_buf

2012-11-30 Thread 张忠山
the function uncompress_fd_to_buf has no parameter to return the uncompressed length, How to get the uncompressed content length? -- Best Regards, zzs ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ba

gunzip error when uncompress to buf

2012-11-30 Thread 张忠山
On host use the flowwing cmd build a gziped file $ gzip -c9 zbarebox.bin > xxx $ ls zbarebox.bin xxx -l -rw-rw-r-- 1 zzs zzs 127605 2012-11-30 17:46 xxx -rwxrwxr-x 1 zzs zzs 136769 2012-11-30 18:44 zbarebox.bin* Then on barebox write it to /dev/nor0.kernel

Re: [PATCH 3/5] mci: Allow to specify device name

2012-11-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:06 Fri 30 Nov , Sascha Hauer wrote: > On Fri, Nov 30, 2012 at 05:57:32AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 20:02 Thu 29 Nov , Sascha Hauer wrote: > > > When multiple MMC/SD cards are present in the system we often > > > have to have persistent names to identify

[PATCH] omap: gpmc: mark hex debug values as such

2012-11-30 Thread Jan Luebbe
Also use %p for pointers. Signed-off-by: Jan Luebbe --- arch/arm/mach-omap/gpmc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap/gpmc.c b/arch/arm/mach-omap/gpmc.c index ff8b58b..73d8c44 100644 --- a/arch/arm/mach-omap/gpmc.c +++ b/arch/arm/ma

Re: [PATCH 3/5] mci: Allow to specify device name

2012-11-30 Thread Sascha Hauer
On Fri, Nov 30, 2012 at 05:57:32AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 20:02 Thu 29 Nov , Sascha Hauer wrote: > > When multiple MMC/SD cards are present in the system we often > > have to have persistent names to identify them during runtime. > > This patch allows to overwrite

Re: loading uImage from FAT partition

2012-11-30 Thread Sascha Hauer
On Thu, Nov 29, 2012 at 11:49:56PM +0100, Belisko Marek wrote: > Hi, > > I'm trying to use barebox on pandaboard and change default env config to boot > from SD card (as this is mostly what user want). > > I'm curious how to add boot support from SD card properly. > I'm using currently command: b