Hacking Question How to get own Linux booteable

  • Thread starter Thread starter bell07
  • Start date Start date
  • Views Views 1,067
  • Replies Replies 3

bell07

Member
Newcomer
Joined
Oct 21, 2018
Messages
10
Reaction score
1
Trophies
0
Age
48
XP
191
Country
Germany
I am impressed what L4T Ubuntu does, but I like to get Gentoo booted on the console. But I did not fully understand the boot chain.

I know Hekate boots the coreboot.rom. The coreboot.rom contains the u-boot.elf compiled in. The u-boot.elf does have the CONFIG_BOOTCOMMAND="run distro_bootcmd" setting. I miss the bridge from distro_bootcmd setting to "sd:/l4t-ubuntu/boot.scr" file.

My first try was just to copy the coreboot.rom to sd:/gentoo (with assumption same folder is automatically used), and setup own boot.scr and own kernel, but the l4t-ubuntu kernel/system was booted :-( Seems the l4t path is hardcoded at any place I cannot find.

How I can get my Gentoo booted in easy way. I can compile coreboot, can compile the u-boot.elf and also the kernel, if needed.
 

Site & Scene News

Popular threads in this forum