From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ladislav Michl Date: Wed, 19 Oct 2016 11:50:16 +0200 Subject: [U-Boot] Help with spl: zImage support in Falcon mode In-Reply-To: References: Message-ID: <20161019095016.GA16419@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Tue, Oct 18, 2016 at 04:36:54PM +0000, Diego Dorta wrote: > Hi all, > > According to commit log: > > commit 431889d6ad9a39846636716478d504aa7ff976fc > Author: Ladislav Michl > Date: Tue Jul 12 20:28:14 2016 +0200 > > spl: zImage support in Falcon mode > > Other payload than uImage is currently considered to be raw U-Boot > image. Check also for zImage in Falcon mode. > > Signed-off-by: Ladislav Michl > Reviewed-by: Heiko Schocher > > Already include at U-Boot 2016.09.01. > > I was trying to apply Falcon mode on i.MX6 Sabre SD using zImage instead of uImage. > After the steps below I got an error trying to "spl export": > > # dhcp ${fdt_addr} imx6q-sabresd.dtb > > # dhcp ${loadaddr} zImage > > # mmc write ${loadaddr} 0x1000 0x4000 Where did you get those numbers above? > # setenv bootargs 'console=ttymxc0,115200 root=/dev/mmcblk1p1 rootfstype=ext4 rootwait quiet rw' > > # spl export fdt ${loadaddr} - ${fdt_addr} [garbage deleted] > ERROR: can't get kernel image! > XIP Invalid Image ... OK > ERROR: booting os 'Invalid OS' (0) is not supported > ERROR: booting os 'Invalid OS' (0) is not supported > ERROR: booting os 'Invalid OS' (0) is not supported > ERROR prep subcommand failed! > Subcommand failed > > I can't understand this error. Does anybody know how to fix it? Does it work with uImage? Also patch you pointed at above has nothing to do with u-boot itself, but SPL which does not seem to get involved. > Regards, > Diego Best regards, ladis