public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Help with spl: zImage support in Falcon mode
Date: Wed, 19 Oct 2016 11:50:16 +0200	[thread overview]
Message-ID: <20161019095016.GA16419@localhost.localdomain> (raw)
In-Reply-To: <AM4PR04MB2130F1C94A2E65A29CCFB1ACF1D30@AM4PR04MB2130.eurprd04.prod.outlook.com>

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 <ladis@linux-mips.org>
> 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 <ladis@linux-mips.org>
>     Reviewed-by: Heiko Schocher <hs@denx.de>
> 
> 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

  reply	other threads:[~2016-10-19  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18 16:36 [U-Boot] Help with spl: zImage support in Falcon mode Diego Dorta
2016-10-19  9:50 ` Ladislav Michl [this message]
2016-10-19 16:52   ` Diego Dorta
2016-10-19 19:52     ` Ladislav Michl
2016-10-19 16:00 ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161019095016.GA16419@localhost.localdomain \
    --to=ladis@linux-mips.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox