Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
6.1.53-gentoo-r1 on arm64 Solidrun Honeycomb LX2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Tue Sep 26, 2023 1:53 am    Post subject: 6.1.53-gentoo-r1 on arm64 Solidrun Honeycomb LX2 Reply with quote

Hi,

I'm trying to set the proper options to permit the system to start

I can successfully get to the login if I boot with the kernel that came with the default distro:

Quote:
Linux version 5.10.35-00073-g0d435c18f2d2 (root@f3bbe2ac363d) (aarch64-linux-gnu-gcc (Linaro GCC 7.4-2019.02) 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4], GNU ld (Linaro_Binutils-2019.02) 2.28.2.2

I've retrieved the /proc/config.gz and extracted its contents into a file called .config

I've copied the .config file to the /usr/src/linux-6.1.53-gentoo-r1/ directory, and then performed

make oldconfig

But the resultant kernel hangs when booting, waiting for the root device:

Quote:

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 6.1.53-gentoo-r1 (root@armand) (gcc (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526, GNU ld (Gentoo 2.40 p5) 2.40.0) #8 SMP PREEMPT Mon Sep 25 21:22:56 EDT 2023
[ 0.000000] Machine model: SolidRun LX2160A Clearfog CX
[ 0.000000] earlycon: pl11 at MMIO32 0x00000000021c0000 (options '')
[ 0.000000] printk: bootconsole [pl11] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x0000002f7fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x2f783abb00-0x2f783adfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x0000002f7fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000fbdfffff]
[ 0.000000] node 0: [mem 0x0000002080000000-0x0000002f7fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000002f7fffffff]
[ 0.000000] On node 0, zone Normal: 16896 pages in unavailable ranges
[ 0.000000] cma: Reserved 32 MiB at 0x00000000f9e00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 29 pages/cpu s81576 r8192 d29016 u118784
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 1742098
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15982080
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=73ea86b6-ffd6-9f48-8b52-c0de2bf47f90 rw rootwait
[ 0.000000] Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 16.
[ 0.000000] software IO TLB: mapped [mem 0x00000000f5e00000-0x00000000f9e00000] (64MB)
[ 0.000000] Memory: 61457884K/64944128K available (20544K kernel code, 4220K rwdata, 10876K rodata, 8256K init, 494K bss, 3453476K reserved, 32768K cma-reserved)
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006200000
[ 0.000000] ITS [mem 0x06020000-0x0603ffff]
[ 0.000000] ITS@0x0000000006020000: allocated 65536 Devices @2080100000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: Using preallocated redistributor tables
[ 0.000000] GICv3: using LPI property table @0x0000000080000000
[ 0.000000] GICv3: CPU0: using reserved LPI pending table @0x0000000080010000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c409fb33, max_idle_ns: 440795203156 ns
[ 0.000000] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps every 4398046511103ns
[ 0.008642] Console: colour dummy device 80x25
[ 0.013176] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.023646] pid_max: default: 32768 minimum: 301
[ 0.028440] LSM: Security Framework initializing
[ 0.033252] Mount-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.041159] Mountpoint-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.050118] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.057433] cblist_init_generic: Setting shift to 4 and lim to 1.
[ 0.063630] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.070937] cblist_init_generic: Setting shift to 4 and lim to 1.
[ 0.077169] rcu: Hierarchical SRCU implementation.
[ 0.082013] rcu: Max phase no-delay instances is 1000.
[ 0.087786] Platform MSI: gic-its@6020000 domain created
[ 0.093209] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[ 0.101310] EFI services will not be available.
[ 0.106253] smp: Bringing up secondary CPUs ...
[ 0.111179] Detected PIPT I-cache on CPU1
[ 0.111227] GICv3: CPU1: found redistributor 1 region 0:0x0000000006220000
[ 0.111245] GICv3: CPU1: using reserved LPI pending table @0x0000000080020000
[ 0.111268] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.111630] Detected PIPT I-cache on CPU2
[ 0.111686] GICv3: CPU2: found redistributor 100 region 0:0x0000000006240000
[ 0.111708] GICv3: CPU2: using reserved LPI pending table @0x0000000080030000
[ 0.111736] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[ 0.112107] Detected PIPT I-cache on CPU3
[ 0.112148] GICv3: CPU3: found redistributor 101 region 0:0x0000000006260000
[ 0.112169] GICv3: CPU3: using reserved LPI pending table @0x0000000080040000
[ 0.112192] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[ 0.112546] Detected PIPT I-cache on CPU4
[ 0.112600] GICv3: CPU4: found redistributor 200 region 0:0x0000000006280000
[ 0.112619] GICv3: CPU4: using reserved LPI pending table @0x0000000080050000
[ 0.112649] CPU4: Booted secondary processor 0x0000000200 [0x410fd083]
[ 0.113017] Detected PIPT I-cache on CPU5
[ 0.113063] GICv3: CPU5: found redistributor 201 region 0:0x00000000062a0000
[ 0.113073] GICv3: CPU5: using reserved LPI pending table @0x0000000080060000
[ 0.113090] CPU5: Booted secondary processor 0x0000000201 [0x410fd083]
[ 0.113423] Detected PIPT I-cache on CPU6
[ 0.113488] GICv3: CPU6: found redistributor 300 region 0:0x00000000062c0000
[ 0.113507] GICv3: CPU6: using reserved LPI pending table @0x0000000080070000
[ 0.113535] CPU6: Booted secondary processor 0x0000000300 [0x410fd083]
[ 0.113879] Detected PIPT I-cache on CPU7
[ 0.113933] GICv3: CPU7: found redistributor 301 region 0:0x00000000062e0000
[ 0.113945] GICv3: CPU7: using reserved LPI pending table @0x0000000080080000
[ 0.113962] CPU7: Booted secondary processor 0x0000000301 [0x410fd083]
[ 0.114299] Detected PIPT I-cache on CPU8
[ 0.114368] GICv3: CPU8: found redistributor 400 region 0:0x0000000006300000
[ 0.114386] GICv3: CPU8: using reserved LPI pending table @0x0000000080090000
[ 0.114415] CPU8: Booted secondary processor 0x0000000400 [0x410fd083]
[ 0.114748] Detected PIPT I-cache on CPU9
[ 0.114795] GICv3: CPU9: found redistributor 401 region 0:0x0000000006320000
[ 0.114805] GICv3: CPU9: using reserved LPI pending table @0x00000000800a0000
[ 0.114822] CPU9: Booted secondary processor 0x0000000401 [0x410fd083]
[ 0.115168] Detected PIPT I-cache on CPU10
[ 0.115244] GICv3: CPU10: found redistributor 500 region 0:0x0000000006340000
[ 0.115263] GICv3: CPU10: using reserved LPI pending table @0x00000000800b0000
[ 0.115288] CPU10: Booted secondary processor 0x0000000500 [0x410fd083]
[ 0.115621] Detected PIPT I-cache on CPU11
[ 0.115680] GICv3: CPU11: found redistributor 501 region 0:0x0000000006360000
[ 0.115690] GICv3: CPU11: using reserved LPI pending table @0x00000000800c0000
[ 0.115708] CPU11: Booted secondary processor 0x0000000501 [0x410fd083]
[ 0.116034] Detected PIPT I-cache on CPU12
[ 0.116116] GICv3: CPU12: found redistributor 600 region 0:0x0000000006380000
[ 0.116127] GICv3: CPU12: using reserved LPI pending table @0x00000000800d0000
[ 0.116154] CPU12: Booted secondary processor 0x0000000600 [0x410fd083]
[ 0.116479] Detected PIPT I-cache on CPU13
[ 0.116534] GICv3: CPU13: found redistributor 601 region 0:0x00000000063a0000
[ 0.116545] GICv3: CPU13: using reserved LPI pending table @0x00000000800e0000
[ 0.116562] CPU13: Booted secondary processor 0x0000000601 [0x410fd083]
[ 0.116885] Detected PIPT I-cache on CPU14
[ 0.116962] GICv3: CPU14: found redistributor 700 region 0:0x00000000063c0000
[ 0.116974] GICv3: CPU14: using reserved LPI pending table @0x00000000800f0000
[ 0.116998] CPU14: Booted secondary processor 0x0000000700 [0x410fd083]
[ 0.117311] Detected PIPT I-cache on CPU15
[ 0.117370] GICv3: CPU15: found redistributor 701 region 0:0x00000000063e0000
[ 0.117381] GICv3: CPU15: using reserved LPI pending table @0x0000000080100000
[ 0.117398] CPU15: Booted secondary processor 0x0000000701 [0x410fd083]
[ 0.117435] smp: Brought up 1 node, 16 CPUs
[ 0.498167] SMP: Total of 16 processors activated.
[ 0.503009] CPU features: detected: 32-bit EL0 Support
[ 0.508206] CPU features: detected: 32-bit EL1 Support
[ 0.513400] CPU features: detected: CRC32 instructions
[ 0.518652] CPU: All CPU(s) started at EL2
[ 0.522802] alternatives: applying system-wide alternatives
[ 0.529493] devtmpfs: initialized
[ 0.535724] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.545586] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[ 0.552916] pinctrl core: initialized pinctrl subsystem
[ 0.558569] DMI not present or invalid.
[ 0.562741] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.569681] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[ 0.577520] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.586004] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.594125] audit: initializing netlink subsys (disabled)
[ 0.599642] audit: type=2000 audit(0.384:1): state=initialized audit_enabled=0 res=1
[ 0.600022] thermal_sys: Registered thermal governor 'step_wise'
[ 0.607477] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.613571] cpuidle: using governor menu
[ 0.624218] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.631229] ASID allocator initialised with 32768 entries
[ 0.637166] Serial: AMBA PL011 UART driver
[ 0.644400] 21c0000.serial: ttyAMA0 at MMIO 0x21c0000 (irq = 14, base_baud = 0) is a SBSA
[ 0.652680] printk: console [ttyAMA0] enabled
[ 0.652680] printk: console [ttyAMA0] enabled
[ 0.661425] printk: bootconsole [pl11] disabled
[ 0.661425] printk: bootconsole [pl11] disabled
[ 0.670795] 21d0000.serial: ttyAMA1 at MMIO 0x21d0000 (irq = 15, base_baud = 0) is a SBSA
[ 0.682794] KASLR enabled
[ 0.709107] HugeTLB: registered 1.00 GiB page size, pre-allocated 2 pages
[ 0.715894] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.722151] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.728927] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.735183] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.741964] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.748220] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.754996] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.761757] cryptd: max_cpu_qlen set to 1000
[ 0.833521] raid6: neonx8 gen() 5938 MB/s
[ 0.905551] raid6: neonx4 gen() 5807 MB/s
[ 0.977581] raid6: neonx2 gen() 4817 MB/s
[ 1.049619] raid6: neonx1 gen() 3481 MB/s
[ 1.121663] raid6: int64x8 gen() 3365 MB/s
[ 1.193960] raid6: int64x4 gen() 3259 MB/s
[ 1.266258] raid6: int64x2 gen() 3158 MB/s
[ 1.338556] raid6: int64x1 gen() 2416 MB/s
[ 1.342816] raid6: using algorithm neonx8 gen() 5938 MB/s
[ 1.416236] raid6: .... xor() 4294 MB/s, rmw enabled
[ 1.421191] raid6: using neon recovery algorithm
[ 1.425984] ACPI: Interpreter disabled.
[ 1.430651] iommu: Default domain type: Passthrough
[ 1.435750] SCSI subsystem initialized
[ 1.439655] usbcore: registered new interface driver usbfs
[ 1.445146] usbcore: registered new interface driver hub
[ 1.450463] usbcore: registered new device driver usb
[ 1.455738] mc: Linux media interface: v0.10
[ 1.460011] videodev: Linux video capture interface: v2.00
[ 1.465512] pps_core: LinuxPPS API ver. 1 registered
[ 1.470467] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.479592] PTP clock support registered
[ 1.483554] EDAC MC: Ver: 3.0.0
[ 1.487218] FPGA manager framework
[ 1.490643] Advanced Linux Sound Architecture Driver Initialized.
[ 1.497031] vgaarb: loaded
[ 1.499891] clocksource: Switched to clocksource arch_sys_counter
[ 1.506137] VFS: Disk quotas dquot_6.6.0
[ 1.510100] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.517123] pnp: PnP ACPI: disabled
[ 1.523601] NET: Registered PF_INET protocol family
[ 1.528691] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 1.541198] tcp_listen_portaddr_hash hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 1.550116] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.557874] TCP established hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 1.567627] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 1.575777] TCP: Hash tables configured (established 524288 bind 65536)
[ 1.582469] UDP hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.590033] UDP-Lite hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.598111] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.603783] PCI: CLS 0 bytes, default 64
[ 1.608548] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 1.616916] kvm [1]: IPA Size Limit: 44 bits
[ 1.621912] kvm [1]: vgic-v2@c0e0000
[ 1.625494] kvm [1]: GIC system register CPU interface enabled
[ 1.631516] kvm [1]: vgic interrupt IRQ9
[ 1.635623] kvm [1]: Hyp mode initialized successfully
[ 1.641576] workingset: timestamp_bits=42 max_order=24 bucket_order=0
[ 1.648440] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.654318] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 1.660491] fuse: init (API version 7.37)
[ 1.683881] NET: Registered PF_ALG protocol family
[ 1.688678] xor: measuring software checksum speed
[ 1.694481] 8regs : 9647 MB/sec
[ 1.699771] 32regs : 10434 MB/sec
[ 1.705304] arm64_neon : 8299 MB/sec
[ 1.709651] xor: using function: 32regs (10434 MB/sec)
[ 1.714805] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 1.722256] io scheduler mq-deadline registered
[ 1.726781] io scheduler kyber registered
[ 1.735279] layerscape-pcie 3600000.pcie: host bridge /soc/pcie@3600000 ranges:
[ 1.742602] layerscape-pcie 3600000.pcie: MEM 0x9400000000..0x97ffffffff -> 0xa400000000
[ 1.751125] layerscape-pcie 3600000.pcie: MEM 0x9040000000..0x90ffffffff -> 0x0040000000
[ 1.759643] layerscape-pcie 3600000.pcie: IO 0x9010000000..0x901000ffff -> 0x0000000000
[ 1.768650] layerscape-pcie 3600000.pcie: iATU unroll: disabled
[ 1.774560] layerscape-pcie 3600000.pcie: iATU regions: 256 ob, 24 ib, align 4K, limit 4G
[ 1.782950] layerscape-pcie 3600000.pcie: Failed to set MEM range [mem 0x9400000000-0x97ffffffff flags 0x2200]
[ 1.792944] layerscape-pcie: probe of 3600000.pcie failed with error -22
[ 1.799694] layerscape-pcie 3800000.pcie: host bridge /soc/pcie@3800000 ranges:
[ 1.807005] layerscape-pcie 3800000.pcie: MEM 0xa400000000..0xa7ffffffff -> 0xa400000000
[ 1.815526] layerscape-pcie 3800000.pcie: MEM 0xa040000000..0xa0ffffffff -> 0x0040000000
[ 1.824043] layerscape-pcie 3800000.pcie: IO 0xa010000000..0xa01000ffff -> 0x0000000000
[ 1.833310] layerscape-pcie 3800000.pcie: iATU unroll: disabled
[ 1.839221] layerscape-pcie 3800000.pcie: iATU regions: 256 ob, 24 ib, align 4K, limit 4G
[ 1.847736] layerscape-pcie 3800000.pcie: Failed to set MEM range [mem 0xa400000000-0xa7ffffffff flags 0x2200]
[ 1.857733] layerscape-pcie: probe of 3800000.pcie failed with error -22
[ 1.864897] EINJ: ACPI disabled.
[ 1.875377] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.882549] SuperH (H)SCI(F) driver initialized
[ 1.887241] msm_serial: driver initialized
[ 1.893072] arm-smmu 5000000.iommu: probing hardware configuration...
[ 1.899506] arm-smmu 5000000.iommu: SMMUv2 with:
[ 1.904114] arm-smmu 5000000.iommu: stage 1 translation
[ 1.909415] arm-smmu 5000000.iommu: stage 2 translation
[ 1.914717] arm-smmu 5000000.iommu: nested translation
[ 1.919936] arm-smmu 5000000.iommu: coherent table walk
[ 1.925238] arm-smmu 5000000.iommu: (IDR0.CTTW overridden by FW configuration)
[ 1.932537] arm-smmu 5000000.iommu: stream matching with 128 register groups
[ 1.939664] arm-smmu 5000000.iommu: 64 context banks (0 stage-2 only)
[ 1.946184] arm-smmu 5000000.iommu: Supported page sizes: 0x61311000
[ 1.952615] arm-smmu 5000000.iommu: Stage-1: 48-bit VA -> 48-bit IPA
[ 1.959045] arm-smmu 5000000.iommu: Stage-2: 48-bit IPA -> 48-bit PA
[ 1.965720] arm-smmu 5000000.iommu: preserved 0 boot mappings
[ 1.976205] brd: module loaded
[ 1.982570] loop: module loaded
[ 1.986073] megasas: 07.719.03.00-rc1
[ 1.992801] tun: Universal TUN/TAP device driver, 1.6
[ 1.998122] thunder_xcv, ver 1.0
[ 2.001360] thunder_bgx, ver 1.0
[ 2.004592] nicpf, ver 1.0
[ 2.007454] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 2.014667] hns3: Copyright (c) 2017 Huawei Corporation.
[ 2.019991] hclge is initializing
[ 2.023299] e1000: Intel(R) PRO/1000 Network Driver
[ 2.028168] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 2.033918] e1000e: Intel(R) PRO/1000 Network Driver
[ 2.038873] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 2.044803] igb: Intel(R) Gigabit Ethernet Network Driver
[ 2.050192] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 2.055767] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 2.062026] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 2.067946] i40e: Intel(R) Ethernet Connection XL710 Network Driver
[ 2.074203] i40e: Copyright (c) 2013 - 2019 Intel Corporation.
[ 2.080093] iavf: Intel(R) Ethernet Adaptive Virtual Function Network Driver
[ 2.087137] Copyright (c) 2013 - 2018 Intel Corporation.
[ 2.092579] sky2: driver version 1.30
[ 2.096657] usbcore: registered new interface driver r8152
[ 2.102147] usbcore: registered new interface driver asix
[ 2.107552] usbcore: registered new interface driver ax88179_178a
[ 2.113647] usbcore: registered new interface driver cdc_ether
[ 2.119481] usbcore: registered new interface driver net1080
[ 2.125143] usbcore: registered new interface driver cdc_subset
[ 2.131065] usbcore: registered new interface driver zaurus
[ 2.136647] usbcore: registered new interface driver cdc_ncm
[ 2.142308] usbcore: registered new interface driver qmi_wwan
[ 2.148055] usbcore: registered new interface driver r8153_ecm
[ 2.154072] VFIO - User Level meta-driver version: 0.3
[ 2.160747] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.166243] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.173950] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[ 2.183354] xhci-hcd xhci-hcd.0.auto: irq 95, io mem 0x03100000
[ 2.189333] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.194813] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2.202463] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 2.209216] hub 1-0:1.0: USB hub found
[ 2.212971] hub 1-0:1.0: 1 port detected
[ 2.217195] hub 2-0:1.0: USB hub found
[ 2.220948] hub 2-0:1.0: 1 port detected
[ 2.225006] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.230489] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 2.238199] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810
[ 2.247601] xhci-hcd xhci-hcd.1.auto: irq 96, io mem 0x03110000
[ 2.253579] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.259058] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 2.266709] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 2.273418] hub 3-0:1.0: USB hub found
[ 2.277180] hub 3-0:1.0: 1 port detected
[ 2.281391] hub 4-0:1.0: USB hub found
[ 2.285145] hub 4-0:1.0: 1 port detected
[ 2.289282] usbcore: registered new interface driver cdc_acm
[ 2.294934] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.302942] usbcore: registered new interface driver cdc_wdm
[ 2.308669] usbcore: registered new interface driver uas
[ 2.314007] usbcore: registered new interface driver usb-storage
[ 2.320035] usbcore: registered new interface driver usbserial_generic
[ 2.326561] usbserial: USB Serial support registered for generic
[ 2.332578] usbcore: registered new interface driver ftdi_sio
[ 2.338321] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.345659] usbcore: registered new interface driver usb_serial_simple
[ 2.352184] usbserial: USB Serial support registered for carelink
[ 2.358273] usbserial: USB Serial support registered for flashloader
[ 2.364624] usbserial: USB Serial support registered for funsoft
[ 2.370628] usbserial: USB Serial support registered for google
[ 2.376544] usbserial: USB Serial support registered for hp4x
[ 2.382287] usbserial: USB Serial support registered for kaufmann
[ 2.388377] usbserial: USB Serial support registered for libtransistor
[ 2.394905] usbserial: USB Serial support registered for moto_modem
[ 2.401169] usbserial: USB Serial support registered for motorola_tetra
[ 2.407782] usbserial: USB Serial support registered for nokia
[ 2.413614] usbserial: USB Serial support registered for novatel_gps
[ 2.419965] usbserial: USB Serial support registered for siemens_mpi
[ 2.426315] usbserial: USB Serial support registered for suunto
[ 2.432232] usbserial: USB Serial support registered for vivopay
[ 2.438235] usbserial: USB Serial support registered for zio
[ 2.444940] i2c_dev: i2c /dev entries driver
[ 2.450574] sbsa-gwdt 23a0000.watchdog: Initialized with 30s timeout @ 25000050 Hz, action=0. [enabled]
[ 2.461228] sdhci: Secure Digital Host Controller Interface driver
[ 2.467411] sdhci: Copyright(c) Pierre Ossman
[ 2.471996] Synopsys Designware Multimedia Card Interface Driver
[ 2.478348] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.484590] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.490925] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 2.497549] usbcore: registered new interface driver usbhid
[ 2.503115] usbhid: USB HID core driver
[ 2.507962] cs_system_cfg: CoreSight Configuration manager initialised
[ 2.515202] optee: probing for conduit method.
[ 2.519641] optee: api uid mismatch
[ 2.523122] optee: probe of firmware:optee failed with error -22
[ 2.530408] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 2.538907] NET: Registered PF_LLC protocol family
[ 2.543709] u32 classifier
[ 2.543894] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 2.546408] input device check on
[ 2.556572] Actions configured
[ 2.560689] IPVS: Registered protocols (TCP, UDP)
[ 2.565414] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 2.572771] IPVS: ipvs loaded.
[ 2.575815] IPVS: [rr] scheduler registered.
[ 2.580141] Initializing XFRM netlink socket
[ 2.584534] NET: Registered PF_INET6 protocol family
[ 2.589925] Segment Routing with IPv6
[ 2.593598] In-situ OAM (IOAM) with IPv6
[ 2.597549] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.603661] NET: Registered PF_PACKET protocol family
[ 2.608710] NET: Registered PF_KEY protocol family
[ 2.613510] Bridge firewalling registered
[ 2.617585] 8021q: 802.1Q VLAN Support v1.8
[ 2.621770] lib80211: common routines for IEEE802.11 drivers
[ 2.627452] 9pnet: Installing 9P2000 support
[ 2.631740] Key type dns_resolver registered
[ 2.636170] registered taskstats version 1
[ 2.641180] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 2.655593] ALSA device list:
[ 2.658566] No soundcards found.
[ 2.662079] Waiting for root device PARTUUID=73ea86b6-ffd6-9f48-8b52-c0de2bf47f90...
[ 2.753289] hub 3-1:1.0: USB hub found
[ 2.757073] hub 3-1:1.0: 4 ports detected
[ 2.831921] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 2.913254] hub 4-1:1.0: USB hub found
[ 2.917178] hub 4-1:1.0: 4 ports detected
[ 3.103901] usb 3-1.3: new high-speed USB device number 3 using xhci-hcd
[ 3.265204] hub 3-1.3:1.0: USB hub found
[ 3.269150] hub 3-1.3:1.0: 4 ports detected
[ 12.784276] /soc/sata@3200000: Failed to get clk index: 0 ret: -517
[ 12.790982] /soc/sata@3210000: Failed to get clk index: 0 ret: -517
[ 12.797646] /soc/sata@3220000: Failed to get clk index: 0 ret: -517
[ 12.804309] /soc/sata@3230000: Failed to get clk index: 0 ret: -517
[ 12.810977] nxp-fspi 20c0000.spi: NXP FSPI probe failed
[ 12.818430] platform 3200000.sata: deferred probe pending
[ 12.823828] platform 3210000.sata: deferred probe pending
[ 12.829218] platform 3220000.sata: deferred probe pending
[ 12.834613] platform 3230000.sata: deferred probe pending
[ 12.840005] platform 20c0000.spi: deferred probe pending
[ 12.845307] platform qsfp-0: deferred probe pending
[ 12.850175] platform sfp-0: deferred probe pending
[ 12.854957] platform sfp-1: deferred probe pending
[ 12.859738] platform sfp-2: deferred probe pending
[ 12.864518] platform sfp-3: deferred probe pending
[ 12.869300] platform gpio-keys: deferred probe pending


Here are the uboot menu entries:
Quote:
timeout 30
default linux
menu title linux-lx2160a boot options
label primary
menu label primary kernel
linux /boot/Image.gz
fdtdir /boot/
APPEND console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=30303030-01 rw rootwait
label secondary
menu label secondary kernel
linux /boot/GImage.gz
fdtdir /boot/
APPEND console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=73ea86b6-ffd6-9f48-8b52-c0de2bf47f90 rw rootwait
label tertiary
menu label tertiary kernel
linux /boot/Image.gz
fdtdir /boot/
APPEND console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=73ea86b6-ffd6-9f48-8b52-c0de2bf47f90 rw rootwait

The primary entry is the default distro, ubuntu, which does boot, but half the time hangs after outputting No soundcards found.
The secondary entry is the one I'm tring to get to boot, which hangs waiting for the root device, with the output listed above.
The tertiary entry is a hybrid, it is running the primary's kernel, and sucessfully boots the Gentoo userspace.

My reasoning is that the problem must be in the kernel, because that's the only difference between the secondary and tertiary menu entries.

Linux/arm64 6.1.53-gentoo-r1 Kernel Configuration:
https://pastebin.com/8VCwWm1E


Thank you for taking the time to read.
Back to top
View user's profile Send private message
pingtoo
l33t
l33t


Joined: 10 Sep 2021
Posts: 926
Location: Richmond Hill, Canada

PostPosted: Tue Sep 26, 2023 2:58 pm    Post subject: Reply with quote

You ubuntu kernel from vendor is patched. it is not default ubuntu you download from internet.

I have said in my previous thread/post you need to patch in order for kernel to work on your board. gentoo distributed kernel source will NOT work without patch.

It is not just kernel configuration. Main stream Linux source code may not include your board specific requirement. therefor it need patch from the board vendor in order to work.

Please note even the start guide mention Gentoo, it is demonstrate how a Gentoo stage 3 can be use. It have nothing to do with witch kernel code will work.

You can try to get vendor linux source from here, however even you can get the source code compile it may still not work directly since it may require a special build instruction that simple kernel .config is not enough. that is why usually vendor BSP (Board support package) include shell script for how to download additional support tool and script for build order.

Please also node Gentoo's kernel package usually does not target specific platform beside X86. So even you got above working you will need Gentoo kernel patches to get Gentoo specific behaviour.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum