Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Stefano Babic
On 07/12/2011 19:47, Wolfgang Denk wrote: Dear Simon Schwarz, In message 4edfa8fd.9000...@gmail.com you wrote: So if the parse function fails, we should have the fallback to u-boot, exactly as we have now the fallback from u-boot.img to u-boot.bin. Hm, I don't think that we want any

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Mike Frysinger
On Thursday 08 December 2011 05:14:36 Stefano Babic wrote: On 07/12/2011 19:47, Wolfgang Denk wrote: Simon Schwarz wrote: So if the parse function fails, we should have the fallback to u-boot, exactly as we have now the fallback from u-boot.img to u-boot.bin. Hm, I don't think that we

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Stefano Babic
On 08/12/2011 16:54, Mike Frysinger wrote: Apart a mechanism with a GPIO, can we think to use in a simple way the console for this ? SPL supports it, and we could share the same mechanism for all boards, in such way as we stop the autoboot in U-Boot. isn't this the purpose of the boot

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-08 Thread Mike Frysinger
On Thursday 08 December 2011 11:40:48 Stefano Babic wrote: On 08/12/2011 16:54, Mike Frysinger wrote: Apart a mechanism with a GPIO, can we think to use in a simple way the console for this ? SPL supports it, and we could share the same mechanism for all boards, in such way as we stop the

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-07 Thread Stefano Babic
On 06/12/2011 19:34, Simon Schwarz wrote: From: Simon Schwarz simonschwarz...@googlemail.com This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-07 Thread Simon Schwarz
On 12/07/2011 04:39 PM, Stefano Babic wrote: On 06/12/2011 19:34, Simon Schwarz wrote: From: Simon Schwarzsimonschwarz...@googlemail.com This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-07 Thread Stefano Babic
On 07/12/2011 18:57, Simon Schwarz wrote: So if the parse function fails, we should have the fallback to u-boot, exactly as we have now the fallback from u-boot.img to u-boot.bin. Hm, I don't think that we want any fallback here. I would prefere an error message and hang. The direct boot is

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-07 Thread Wolfgang Denk
Dear Simon Schwarz, In message 4edfa8fd.9000...@gmail.com you wrote: So if the parse function fails, we should have the fallback to u-boot, exactly as we have now the fallback from u-boot.img to u-boot.bin. Hm, I don't think that we want any fallback here. I would prefere an error

Re: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-07 Thread Tom Rini
On Wed, Dec 7, 2011 at 11:10 AM, Stefano Babic sba...@denx.de wrote: On 07/12/2011 18:57, Simon Schwarz wrote: [snip] The function you write are in omap-common/spl_nand.c, but they are not specific for OMAP, and any architecture can profit from your work. What about to move common functions

[U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting

2011-12-06 Thread Simon Schwarz
From: Simon Schwarz simonschwarz...@googlemail.com This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL CONFIG_SYS_SPL_ARGS_ADDR Address where the kernel boot