[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cubox-i does not boot after upgrade to bullseye



Am Montag, 27. Dezember 2021, 18:22:43 CET schrieb Vagrant Cascadian:
> Very likely; it is not promised to remain constant even between boots
> with the same kernel, unfortunately!
> 
> You really want to use root=UUID=abcde-12345... or partition labels, or
> anything that isn't going to have surprise changes...

Hmm...I think the problem is something different. 

I inserted the SDcard in a different Linux-System and I extracted the UUID:

root@h370:~# lsblk --fs /dev/sdc2
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% 
MOUNTPOINT
sdc2 ext4   1.0         233113e0-67d1-409f-b2c0-57bd496213de                
root@h370:~#


I manually loaded now the kernel in uboot (does the manual sequence look 
reasonable?):

CuBox-i U-Boot > mmc dev ${mmcdev};
switch to partitions #0, OK
mmc0 is current device
CuBox-i U-Boot >  mmc rescan
CuBox-i U-Boot > load mmc 0:1 0x10800000  vmlinuz-5.10.0-10-armmp
4960768 bytes read in 380 ms (12.4 MiB/s)
CuBox-i U-Boot > load mmc 0:1 0x18000000  dtbs/5.10.0-10-armmp/imx6q-cubox-
i.dtb
37880 bytes read in 254 ms (145.5 KiB/s)
CuBox-i U-Boot > load mmc 0:1 0x11800000  initrd.img-5.10.0-10-armmp
24040022 bytes read in 1551 ms (14.8 MiB/s)
CuBox-i U-Boot > setenv bootargs " ${bootargs} enable_wait_mode=off  
root=UUID=233113e0-67d1-409f-b2c0-57bd496213de  rootfstype=ext4  ro rootwait  
console=ttymxc0,115200  console=tty1 break"
CuBox-i U-Boot > printenv bootargs
bootargs=  enable_wait_mode=off  root=UUID=233113e0-67d1-409f-b2c0-57bd496213de  
rootfstype=ext4  ro rootwait  console=ttymxc0,115200  console=tty1 break
CuBox-i U-Boot > bootz 0x10800000 0x11800000: 0x18000000
Kernel image @ 0x10800000 [ 0x000000 - 0x4bb200 ]
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
EHCI failed to shut down host controller.
   Using Device Tree in place at 18000000, end 1800c3f7

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.0-10-armmp (debian-kernel@lists.debian.org) 
(gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 
2.35.2) #1 SMP Debian 5.10.84-1 (2021-12-08)
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), 
cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
instruction cache
[    0.000000] OF: fdt: Machine model: SolidRun Cubox-i Dual/Quad
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x8f000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000010000000-0x000000003fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000040000000-0x000000008fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000010000000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000008fffffff]
[    0.000000] percpu: Embedded 21 pages/cpu s54604 r8192 d23220 u86016
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522560
[    0.000000] Kernel command line:   enable_wait_mode=off  
root=UUID=233113e0-67d1-409f-b2c0-57bd496213de  rootfstype=ext4  ro rootwait  
console=ttymxc0,115200  console=tty1 break
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 
bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, 
linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 2041628K/2097152K available (11264K kernel code, 1668K 
rwdata, 3192K rodata, 2048K init, 337K bss, 39140K reserved, 16384K cma-
reserved, 1294336K highmem)
[    0.000000] random: get_random_u32 called from 
__kmem_cache_create+0x30/0x450 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 37402 entries in 110 pages
[    0.000000] ftrace: allocated 110 pages with 5 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Rude 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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x32070000 -> 
0x32470000
[    0.000000] L2C-310 errata 752271 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 
715827882841ns
[    0.000026] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 637086815595 ns
[    0.002970] Console: colour dummy device 80x30
[    0.003586] printk: console [tty1] enabled
[    0.003647] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.003685] pid_max: default: 32768 minimum: 301
[    0.004038] LSM: Security Framework initializing
[    0.004159] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.004331] AppArmor: AppArmor initialized
[    0.004360] TOMOYO Linux initialized
[    0.004474] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, 
linear)
[    0.004507] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 
bytes, linear)
[    0.005775] CPU: Testing write buffer coherency: ok
[    0.005835] CPU0: Spectre v2: using BPIALL workaround
[    0.006180] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.007274] Setting up static identity map for 0x10300000 - 0x103000ac
[    0.008644] rcu: Hierarchical SRCU implementation.
[    0.011160] EFI services will not be available.
[    0.011750] smp: Bringing up secondary CPUs ...
[    0.012731] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.012741] CPU1: Spectre v2: using BPIALL workaround
[    0.013903] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.013911] CPU2: Spectre v2: using BPIALL workaround
[    0.015024] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.015033] CPU3: Spectre v2: using BPIALL workaround
[    0.015256] smp: Brought up 1 node, 4 CPUs
[    0.015286] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[    0.015308] CPU: All CPU(s) started in SVC mode.
[    0.016160] devtmpfs: initialized
[    0.026244] VFP support v0.3: implementor 41 architecture 3 part 30 variant 
9 rev 4
[    0.026591] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 7645041785100000 ns
[    0.026667] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.028033] pinctrl core: initialized pinctrl subsystem
[    0.029350] DMI not present or invalid.
[    0.029787] NET: Registered protocol family 16
[    0.033267] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.034241] audit: initializing netlink subsys (disabled)
[    0.034544] audit: type=2000 audit(0.032:1): state=initialized 
audit_enabled=0 res=1
[    0.035999] thermal_sys: Registered thermal governor 'fair_share'
[    0.036007] thermal_sys: Registered thermal governor 'bang_bang'
[    0.036035] thermal_sys: Registered thermal governor 'step_wise'
[    0.036057] thermal_sys: Registered thermal governor 'user_space'
[    0.036078] thermal_sys: Registered thermal governor 'power_allocator'
[    0.036449] CPU identified as i.MX6Q, silicon rev 1.2
[    0.473485] No ATAGs?
[    0.473721] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 
watchpoint registers.
[    0.473752] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.475534] debugfs: Directory 'dummy-iomuxc-gpr@20e0000' with parent 
'regmap' already present!
[    0.475885] imx6q-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.477575] Serial: AMBA PL011 UART driver
[    0.485760] Kprobes globally optimized
[    2.200761] mxs-dma 110000.dma-apbh: initialized
[    2.202374] reg-fixed-voltage regulator-vcc-3v3: Failed to register 
regulator: -517
[    2.205294] iommu: Default domain type: Translated
[    2.206502] vgaarb: loaded
[    2.207700] mc: Linux media interface: v0.10
[    2.207770] videodev: Linux video capture interface: v2.00
[    2.209653] NetLabel: Initializing
[    2.209681] NetLabel:  domain hash size = 128
[    2.209698] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    2.209808] NetLabel:  unlabeled traffic allowed by default
[    2.210323] clocksource: Switched to clocksource mxc_timer1
[    2.295588] VFS: Disk quotas dquot_6.6.0
[    2.295735] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.296593] AppArmor: AppArmor Filesystem Enabled
[    2.310024] NET: Registered protocol family 2
[    2.310267] IP idents hash table entries: 16384 (order: 5, 131072 bytes, 
linear)
[    2.311879] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 
6144 bytes, linear)
[    2.311957] TCP established hash table entries: 8192 (order: 3, 32768 
bytes, linear)
[    2.312087] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, 
linear)
[    2.312229] TCP: Hash tables configured (established 8192 bind 8192)
[    2.312400] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.312466] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, 
linear)
[    2.313044] NET: Registered protocol family 1
[    2.313111] NET: Registered protocol family 44
[    2.313143] PCI: CLS 0 bytes, default 64
[    2.314074] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    2.314504] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 
counters available
[    2.317353] Initialise system trusted keyrings
[    2.317419] Key type blacklist registered
[    2.317646] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    2.325359] zbud: loaded
[    2.326642] integrity: Platform Keyring initialized
[    2.326680] Key type asymmetric registered
[    2.326700] Asymmetric key parser 'x509' registered
[    2.326913] bounce: pool size: 64 pages
[    2.327021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
250)
[    2.327303] io scheduler mq-deadline registered
[    2.347086] imx-sdma 20ec000.sdma: firmware: failed to load imx/sdma/sdma-
imx6q.bin (-2)
[    2.347128] firmware_class: See https://wiki.debian.org/Firmware for 
information about missing firmware
[    2.347158] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-
imx6q.bin failed with error -2
[    2.354549] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    2.357951] Serial: AMBA driver
[    2.358903] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 33, base_baud 
= 5000000) is a IMX
[    3.178125] printk: console [ttymxc0] enabled
[    3.184115] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 73, base_baud 
= 5000000) is a IMX
[    3.195317] STM32 USART driver initialized
[    3.202826] libphy: Fixed MDIO Bus: probed
[    3.208766] mousedev: PS/2 mouse device common for all mice
[    3.217435] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    3.223624] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 
1970-01-01T00:00:00 UTC (0)
[    3.238027] ledtrig-cpu: registered to indicate activity on CPUs
[    3.246151] NET: Registered protocol family 10
[    3.259215] Segment Routing with IPv6
[    3.263086] mip6: Mobile IPv6
[    3.266076] NET: Registered protocol family 17
[    3.270798] mpls_gso: MPLS GSO support
[    3.275176] ThumbEE CPU extension supported.
[    3.279544] Registering SWP/SWPB emulation handler
[    3.284552] registered taskstats version 1
[    3.288736] Loading compiled-in X.509 certificates
[    3.688518] Loaded X.509 cert 'Debian Secure Boot CA: 
6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    3.697390] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 
4b6ef5abca669825178e052c84667ccbc0531f8c'
[    3.707798] zswap: loaded using pool lzo/zbud
[    3.713011] Key type ._fscrypt registered
[    3.717099] Key type .fscrypt registered
[    3.721055] Key type fscrypt-provisioning registered
[    3.726262] AppArmor: AppArmor sha1 policy hashing enabled
[    3.758428] vcc_3v3: supplied by v_5v0
[    3.775058] Waiting for root device UUID=233113e0-67d1-409f-
b2c0-57bd496213de...

Stuck at the same position (and I also tried /dev/mmcblk0p2 instead of /dev/
mmcblk1p2, but the same result).

Now I am out of ideas :-/

Rainer

-- 
Rainer Dorsch
http://bokomoko.de/



Reply to: