
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.