Gentoo current kernel install 看全部

Has anyone successfully booted into gentoo using the arm64 gentoo-sources kernel either configuring manually in menuconfig or using genkernel all?  


I've confirmed I have a good u-boot image on my SD card, but upon boot, its falling back to my "stock" ubuntu install on the internal mmc.

My assumption is that I'm missing something I need in my boot partition on the SD card.  So far, I've tried with a genkernel generated image.  Haven't braved manually building a kernel yet.


Here's the TTL output.  Note it appears to look for a kernel on the SD but doesn't like what it sees:


  1. U-Boot 2020.04-gc97dbbcad (Jan 28 2023 - 15:01:42 -0600) Allwinner Technology

  2. CPU:   Allwinner H6 (SUN50I)
  3. Model: OrangePi 3 LTS
  4. DRAM:  2 GiB
  5. MMC:   mmc@4020000: 0, mmc@4022000: 1
  6. Loading Environment from FAT... Unable to use mmc 1:1... In:    serial@5000000
  7. Out:   serial@5000000
  8. Err:   serial@5000000
  9. Net:   No ethernet found.
  10. starting USB...
  11. No working controllers found
  12. Autoboot in 2 seconds, press <Space> to stop
  13. switch to partitions #0, OK
  14. mmc0 is current device
  15. Scanning mmc 0:1...
  16. Found U-Boot script /boot.scr
  17. 3206 bytes read in 3 ms (1 MiB/s)
  18. ## Executing script at 4fc00000
  19. U-boot loaded from SD
  20. Boot script loaded from mmc
  21. 203 bytes read in 2 ms (98.6 KiB/s)
  22. libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  23. No FDT memory address configured. Please configure
  24. the FDT address via "fdt addr <address>" command.
  25. Aborting!
  26. Bad Linux ARM64 Image magic!
  27. SCRIPT FAILED: continuing...
  28. switch to partitions #0, OK
  29. mmc1(part 0) is current device
  30. Scanning mmc 1:1...
  31. Found U-Boot script /boot/boot.scr
  32. 3206 bytes read in 2 ms (1.5 MiB/s)
  33. ## Executing script at 4fc00000
  34. U-boot loaded from SD
  35. Boot script loaded from mmc
  36. 203 bytes read in 1 ms (198.2 KiB/s)
  37. 37593 bytes read in 6 ms (6 MiB/s)
  38. 3844 bytes read in 3 ms (1.2 MiB/s)
  39. Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)
  40. ## Executing script at 45000000
  41. 13042247 bytes read in 1306 ms (9.5 MiB/s)
  42. 25868296 bytes read in 2589 ms (9.5 MiB/s)
  43. ## Loading init Ramdisk from Legacy Image at 4fe00000 ...
  44.    Image Name:   uInitrd
  45.    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
  46.    Data Size:    13042183 Bytes = 12.4 MiB
  47.    Load Address: 00000000
  48.    Entry Point:  00000000
  49.    Verifying Checksum ... OK
  50. ## Flattened Device Tree blob at 4fa00000
  51.    Booting using the fdt blob at 0x4fa00000
  52.    Loading Ramdisk to 4938f000, end 49fff207 ... OK
  53.    Loading Device Tree to 000000004931d000, end 000000004938efff ... OK

  54. Starting kernel ...