* [U-Boot] Booting image from ARM for different architecture
@ 2014-03-31 9:45 Michal Simek
2014-04-02 19:55 ` Simon Glass
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2014-03-31 9:45 UTC (permalink / raw)
To: u-boot
Hi all,
I want to check with you if someone tried this scenario.
Load u-boot on main CPU (for me ARM cortex-a9)
and boot different cpu(for me Microblaze) with FIT image
or old u-boot image format.
IRC I have seen any code regarding this but I am not able
to find it out where. :-(
My current usage is that I do that steps by hand by
tftp 100000 kernel.bin (microblaze kernel in bin format with rootfs and dtb in it)
mwr 0xXXXXXX 0x1 (turn on microblaze via custom logic which jumps to 0x100000)
tftp 10000000 image.ub (download arm kernel)
bootm 0x10000000 (boot arm kernel)
I think that will be much better to have
both kernels in one FIT image and and use two configurations.
One for microblaze kernel and second for arm kernel
and boot it with one bootm command.
Simon: Is this configuration even supported by FIT image?
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140331/d219dfd9/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Booting image from ARM for different architecture
2014-03-31 9:45 [U-Boot] Booting image from ARM for different architecture Michal Simek
@ 2014-04-02 19:55 ` Simon Glass
0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2014-04-02 19:55 UTC (permalink / raw)
To: u-boot
HI Michal,
On 31 March 2014 03:45, Michal Simek <monstr@monstr.eu> wrote:
> Hi all,
>
> I want to check with you if someone tried this scenario.
> Load u-boot on main CPU (for me ARM cortex-a9)
> and boot different cpu(for me Microblaze) with FIT image
> or old u-boot image format.
>
> IRC I have seen any code regarding this but I am not able
> to find it out where. :-(
>
> My current usage is that I do that steps by hand by
> tftp 100000 kernel.bin (microblaze kernel in bin format with rootfs and
> dtb in it)
> mwr 0xXXXXXX 0x1 (turn on microblaze via custom logic which jumps to
> 0x100000)
> tftp 10000000 image.ub (download arm kernel)
> bootm 0x10000000 (boot arm kernel)
>
> I think that will be much better to have
> both kernels in one FIT image and and use two configurations.
> One for microblaze kernel and second for arm kernel
> and boot it with one bootm command.
>
> Simon: Is this configuration even supported by FIT image?
>
A lot of my clean-up work was to get everything (kernel, ramdisk, fdt) to
use fit_image_load(). So it is pretty easy to write a command which
calls fit_image_load() to load an FPGA image, or something for another CPU.
I would suggest a 'fdt' command (or maybe 'fit'?) to load from a FIT image
- currently this all happens at once in the bootm command but with all that
code untangled it would be pretty easy to do.
Regards,
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-02 19:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 9:45 [U-Boot] Booting image from ARM for different architecture Michal Simek
2014-04-02 19:55 ` Simon Glass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox