[U-Boot-Users] do_run_[os]. why restart if there is a minor problem?

Ara Avanesyan araav at hylink.am
Fri Jan 28 14:02:54 CET 2005


in function do_run_linux if it finds ramdisk's crc is bad or it's not
"u-boot-ized" (mkimage) it resets the board. and many other similar minor
things. so why restart? I propose making do_run_linux return something to
indicate there is no need to reboot the board and bootm checks this value
and returns.

if you find this may cause backwards compatibility problems, let's make it
depending on some preprocessor define.

I can submit a patch if you say ok.


More information about the U-Boot mailing list