JumboAg post at 2023-1-31 04:55:32

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:


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

CPU:   Allwinner H6 (SUN50I)
Model: OrangePi 3 LTS
DRAM:2 GiB
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 1:1... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
No working controllers found
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3206 bytes read in 3 ms (1 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
203 bytes read in 2 ms (98.6 KiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3206 bytes read in 2 ms (1.5 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
203 bytes read in 1 ms (198.2 KiB/s)
37593 bytes read in 6 ms (6 MiB/s)
3844 bytes read in 3 ms (1.2 MiB/s)
Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)
## Executing script at 45000000
13042247 bytes read in 1306 ms (9.5 MiB/s)
25868296 bytes read in 2589 ms (9.5 MiB/s)
## Loading init Ramdisk from Legacy Image at 4fe00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13042183 Bytes = 12.4 MiB
   Load Address: 00000000
   Entry Point:00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Ramdisk to 4938f000, end 49fff207 ... OK
   Loading Device Tree to 000000004931d000, end 000000004938efff ... OK

Starting kernel ...


page: [1]
View full version: Gentoo current kernel install