How to boot bare board binary from U-Boot>
Hello,
How can we boot independent bare board binary(not standalone binary which runs using U-Boot environment and not linux kernel) from U-Boot. My requirement is to reinitialize the board and drivers using my binary...
I can replace the U-Boot in the boot medium(here NOR Flash) with my binary but my requirement is to not removing the U-boot from NOR flash and I should load my binary from LAN network using "tftp" command.
Thanks and Regards,
Veerendranath
--
View this message in context: http://u-boot.10912.n7.nabble.com/How-to-boot-bare-board-binary-from-U-Boot-tp245739.html
Sent from the U-Boot mailing list archive at Nabble.com.
Hi
you can either run the binary directly from memory or you can build a uboot image from your raw binary using the mkimage command.
Michael
Quoted 25 lines · veerendranathj
Hello,
How can we boot independent bare board binary(not standalone binary which runs using U-Boot environment and not linux kernel) from U-Boot. My requirement is to reinitialize the board and drivers using my binary...
I can replace the U-Boot in the boot medium(here NOR Flash) with my binary but my requirement is to not removing the U-boot from NOR flash and I should
load my binary from LAN network using "tftp" command.Thanks and Regards,
Veerendranath--
View this message in context:
http://u-boot.10912.n7.nabble.com/How-to-boot-bare-board-binary-from-U-Boot-tp245739.html
Sent from the U-Boot mailing list archive at Nabble.com.
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
thanks for the reply... I am aware of these options. Here problem is when I use go command my program has to use U-Boot service functions(I mean standalone binaries will run in U-Boot environment)... But I want to take complete control from U-Boot as my binary is self-contained binary like kernel...But I can't boot using bootm or any other boot commands provided by U-Boot as my binary is not in kernel format...... Please let me know if you have any idea how accomplish it with out customizing the U-Boot...
--
View this message in context: http://u-boot.10912.n7.nabble.com/How-to-boot-bare-board-binary-from-U-Boot-tp245739p245851.html
Sent from the U-Boot mailing list archive at Nabble.com.
so you just want to boot a raw binary which is not a kernel and doesn't use the U-Boot API?
Actually, this shouldn't change anything. Linux isn't anything more than a "self-contained" raw binary either.
I don't see why bootm wouldn't work in you situation.
Michael
Quoted 20 lines · veerendranathj
thanks for the reply... I am aware of these options. Here problem is when I use go command my program has to use U-Boot service functions(I mean standalone binaries will run in U-Boot environment)... But I want to take complete control from U-Boot as my binary is self-contained binary like kernel...But I can't boot using bootm or any other boot commands provided by
U-Boot as my binary is not in kernel format...... Please let me know if you have any idea how accomplish it with out customizing the U-Boot...--
View this message in context:
http://u-boot.10912.n7.nabble.com/How-to-boot-bare-board-binary-from-U-Boot-tp245739p245851.html
Sent from the U-Boot mailing list archive at Nabble.com.
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot