Re: [U-Boot] Falcon mode boot support

On Mon, Dec 15, 2014 at 09:08:08PM -0000, Andy Pont wrote:
Hi Tom,
So first, take a look at drivers/mtd/spi/spi_spl_load.c as that's what will be doing falcon mode work on your SPI flash.
Second, take a look at board/ti/am335x/README, you're looking for the lines that read like: Using Device Tree in place at 80f80000, end 80f85928
I have managed to make some progress and I think I have got what I think is the right data stored in the flash. Unfortunately when I try to boot it locks up at:
spl: payload image: Linu load addr: 0x80007fc0 size: 3893360 Jumping to Linux Entering kernel arg pointer: 0x80000100
I'm guessing the kernel arg pointer value is incorrect either that or it has ignored the boot arguments and not picked up the console parameter.
Could you advise?
How big is the args file? We default to placing the args at 0x88000000 in ti_am335x_common.h (see CONFIG_SYS_SPL_ARGS_ADDR) to make sure that we don't have an overlap between the DT and the kernel which is quite possible with a reasonably sized DT and placing it at 0x80000100.

Hi Tom,
How big is the args file? We default to placing the args at 0x88000000 in ti_am335x_common.h (see CONFIG_SYS_SPL_ARGS_ADDR) to make sure that we don't have an overlap between the DT and the kernel which is quite possible with a reasonably sized DT and placing it at 0x80000100.
Changing the CONFIG_SYS_SPL_ARGS_ADDR to be the same as the value in the ti_ am335x_common.h header file seems to have fixed the issue.
Unfortunately it hasn't improved the boot time by much - the bulk of the time seems to be in reading and decompressing the kernel from SPI flash device (Spansion S25FL164). The only other storage medium on the board is an eMMC flash device - would putting the kernel in there give a faster boot time?
Thanks,
Andy.
participants (2)
-
Andy Pont
-
Tom Rini