Fwd: Shouldn't boot_board be called from boot instead of init?

Guillermo Rodriguez Garcia guille.rodriguez at gmail.com
Tue Aug 16 01:42:32 PDT 2016


Hello all,

Currently, for defaultenv v1, the /env/bin/boot_board script is called
from /env/bin/init.

However this means boot_board will not be run if booting manually (by
running 'boot' from the barebox console).

Shouldn't this script be called from /env/bin/boot instead? If a board
needs any specific stuff to be done when booting, this probably
applies both when autobooting and when booting manually (otherwise,
anything that only applies only when autobooting could also be done
from init_board instead of boot_board).

Opinions?

Guillermo Rodriguez Garcia
guille.rodriguez at gmail.com



More information about the barebox mailing list