uuu using u-boot-with-spl.imx

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Tue Jul 5 06:44:43 CEST 2022


Hi


On Tue, Jul 5, 2022 at 3:20 AM Peng Fan <peng.fan at oss.nxp.com> wrote:
>
>
>
> On 7/4/2022 7:00 PM, Michael Nazzareno Trimarchi wrote:
> > Hi Fabio and Marek
> >
> > Trying to understand the reason why I can boot using imx_usb loader
> > and not the uuu tool
>
> How do you use uuu? uuu -b sd flash.bin?

sudo uuu -b nand u-boot-with-spl.imx

U-Boot SPL 2022.07-rc5-00075-gf7d0e40577-dirty (Jul 05 2022 - 06:29)
>>SPL: board_init_r()
spl_init
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 624512 to 0x877fffc0... done
Jumping to header at 0x877fffc0
Header Tag is not an IMX image
Found header at 0x877fffc0
mkimage signature not found - ih_magic = 0
image entry point: 0x87800000

Does not depend on SDP_ADDRESS even because default has no sense now
is 0. I have chosen
TEXT_BASE -  HEADERSIZE

Michael


>
> Regards,
> Peng.
>
> >
> > If I do:
> >
> > ./imx_usb SPL
> > ./imx_usb u-boot-dtb.img
> >
> > It works
> >
> > U-Boot SPL 2022.07-rc5-00075-g01d253835a-dirty (Jul 04 2022 - 12:39:
> > 11 +0200)
> >>> SPL: board_init_r()
> > spl_init
> > Trying to boot from USB SDP
> > SDP: initialize...
> > SDP: handle requests...
> > Downloading file of size 594824 to 0x877fffc0... done
> > Jumping to header at 0x877fffc0
> > Header Tag is not an IMX image
> > Found header at 0x877fffc0
> > image entry point: 0x87800000
> >
> >
> > U-Boot 2022.07-rc5-00075-g01d253835a-dirty (Jul 04 2022 - 12:39:11 +
> > 0200)
> >
> > CPU:   Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz)
> > CPU:   Commercial temperature grade (0C to 95C) at 37C
> > Reset cause: POR
> > Model: BSH SMM M2
> > DRAM:  128 MiB
> > Core:  29 devices, 14 uclasses, devicetree: separate
> > NAND:  256 MiB
> > MMC:   FSL_SDHC: 1
> > Loading Environment from NAND... *** Warning - bad CRC, using defaul
> > t environment
> >
> > In:    serial at 21f0000
> > Out:   serial at 21f0000
> > Err:   serial at 21f0000
> > Net:   CPU Net Initialization Failed
> > No ethernet found.
> > Hit any key to stop autoboot
> >
> > If I tried with the combined image using uuu it does not work like that.
> >
> > U-Boot SPL 2022.07-rc5-00075-g01d253835a-dirty (Jul 04 2022 - 12:39:
> > 11 +0200)
> >>> SPL: board_init_r()
> > spl_init
> > Trying to boot from USB SDP
> > SDP: initialize...
> > SDP: handle requests...
> > Downloading file of size 594824 to 0x877fffc0... done
> > Jumping to header at 0x877fffc0
> > Header Tag is not an IMX image
> > Found header at 0x877fffc0
> > image entry point: 0x87800000
> >
> >
> > Any idea?
> >
> > Michael



--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list