So, I got the boot log.
It boots to an "emergency"? shell.
Give root password for maintenance
(or press Control-D to continue):
after login I see:
root@system:~# uname -a
Linux system 5.10.60-meson64 #21.08.1 SMP PREEMPT Wed Aug 25 19:29:40 UTC 2021 aarch64 GNU/Linux
I would expect 6.6.16 - no clue why it says 5.10.60, when in /boot/ anything sys 6.6.16.
Full boot log follows. So what's wrong here? 😞
G12B:BL:6e7c85:2a3b91;FEAT:E0F83180:402000;POC:F;RCY:0;EMMC:0;READ:0;0.
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02
L0:00000000
L1:00000703
L2:0000c067
L3:14000020
B2:00402000
B1:e0f83180
TE: 180255
BL2 Built : 06:17:13, Jun 28 2019. g12b gf0505d7-dirty - qi.duan@droid13
Board ID = 5
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 00030852
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_14 build time: Jun 28 2019 06:17:09
board id: 5
Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0
fw parse done
Load ddrfw from eMMC, src: 0x00030200, des: 0xfffd0000, size: 0x0000c000, part: 0
Load ddrfw from eMMC, src: 0x0002c200, des: 0xfffd0000, size: 0x00004000, part: 0
PIEI prepare done
fastboot data load
00000000
emmc switch 1 ok
00000000
emmc switch 2 ok
fastboot data verify
verify result: 255
Cfg max: 2, cur: 1. Board id: 255. Force loop cfg
DDR4 probe
ddr clk to 1320MHz
Load ddrfw from eMMC, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0
00000000
emmc switch 0 ok
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of read dq deskew training
INFO : End of MPR read delay center optimization
INFO : End of Write leveling coarse delay
INFO : End of write delay center optimization
INFO : End of read delay center optimization
INFO : End of max read latency training
INFO : Training has run successfully!
1D training succeed
Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0
Check phy result
INFO : End of initialization
INFO : End of 2D read delay Voltage center optimization
INFO : End of 2D write delay Voltage center optimization
INFO : Training has run successfully!
R0_RxClkDly_Margin==70 ps 6
R0_TxDqDly_Margi==106 ps 9
R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0
dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00600024DDR size: 3928MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
pre test bdlr_100_average==407 bdlr_100_min==407 bdlr_100_max==407 bdlr_100_cur==407
aft test bdlr_100_average==407 bdlr_100_min==407 bdlr_100_max==407 bdlr_100_cur==407
non-sec scramble use zero key
ddr scramble enabled
100bdlr_step_size ps== 398
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
Authentication key not yet programmed
get rpmb counter error 0x00000007
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0
Load BL3X from eMMC, src: 0x0003c200, des: 0x0172c000, size: 0x00099400, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
E30HDR
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12b_v1.1.3375-8f9c8a7 2019-01-24 10:44:46 guotai.shen@droid11-sz]
OPS=0x40
ring efuse init
chipver efuse init
29 0c 40 00 01 11 0c 00 00 07 31 33 32 58 33 50
[0.019858 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE: BL31: v1.3(release):ab8811b
NOTICE: BL31: Built : 15:03:31, Feb 12 2019
NOTICE: BL31: G12A normal boot!
NOTICE: BL31: BL33 decompress pass
ERROR: Error initializing runtime service opteed_fast
U-Boot 2015.01 (Aug 08 2021 - 16:09:39)
DRAM: 3.5 GiB
Relocation Offset is: d6eeb000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7f83db0
MMC: aml_priv->desc_buf = 0x00000000d3edb7c0
aml_priv->desc_buf = 0x00000000d3eddb00
SDIO Port C: 0, SDIO Port B: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x2000
[mmc_startup] mmc refix success
[mmc_init] mmc init success
In: serial
Out: serial
Err: serial
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: driver version: v20190313
vpu: detect chip type: 9
vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz)
vpu: clk_level = 7
vpu: vpu_power_on
vpu: set_vpu_clk
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: set_vpu_clk finish
vpu: vpu_module_init_config
vpp: vpp_init
vpp: g12a/b osd1 matrix rgb2yuv ..............
vpp: g12a/b osd2 matrix rgb2yuv..............
vpp: g12a/b osd3 matrix rgb2yuv..............
cvbs: cpuid:0x29
cvbs_config_hdmipll_g12a
cvbs_set_vid2_clk
** File not found boot-logo.bmp.gz **
** File not found boot-logo.bmp **
movi: not registered partition name, logo
movi - Read/write command from/to SD/MMC for ODROID board
Usage:
movi <read|write> <partition|sector> <offset> <address> [<length>]
- <read|write> the command to access the storage
- <offset> the offset from the start of given partiton in lba
- <address> the memory address to load/store from/to the storage device
- [<length>] the size of the block to read/write in bytes
- all parameters must be hexa-decimal only
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]set initrd_high: 0x3d800000
[OSD]fb_addr for logo: 0x3d800000
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760, height=2160
cvbs: outputmode[1080p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 16
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 6 vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 16
enc_vpu_bridge_reset[1319]
rx version is 1.4 or below div=10
Net: dwmac.ff3f0000
syntax error
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
## Attempting fetch boot.ini in mmc:0...
** File not found boot.ini **
## Executing script at 04000000
Wrong image format for "source" command
## Attempting fetch boot.scr in mmc:0...
** File not found boot.scr **
## Executing script at 04000000
Wrong image format for "source" command
## Attempting fetch /boot/boot.ini in mmc:0...
5579 bytes read in 4 ms (1.3 MiB/s)
## Executing script at 04000000
0 bytes read in 3 ms (0 Bytes/s)
Found mainline kernel configuration
edid extension block number : 2
Dump EDID Rawdata
000000000000000022f02033010000000a1b010380351e782ac020a656529c27
0f5054a10800d1c0b300a9c095008180810081c00101023a801871382d40582c
45000f282100001e000000fd00323c1e5011000a202020202020000000fc0048
5020323465730a2020202020000000ff0033434d37313031323246202020019f
020319b149901f0413031201021167030c0010000022e2002b023a801871382d
40582c45000f282100001e023a80d072382d40102c45800f282100001e011d00
7251d01e206e2855000f282100001e011d00bc52d01e20b82855400f28210000
1e8c0ad08a20e02d10103e96000f28210000180000000000000000000000000b
No header found - count 0
hdmitx: read edid fails.. retry..
edid extension block number : 2
Dump EDID Rawdata
00ffffffffffff0022f02033010000000a1b010380351e782ac020a656529c27
0f5054a10800d1c0b300a9c095008180810081c00101023a801871382d40582c
45000f282100001e000000fd00323c1e5011000a202020202020000000fc0048
5020323465730a2020202020000000ff0033434d37313031323246202020019f
020319b149901f0413031201021167030c0010000022e2002b023a801871382d
40582c45000f282100001e023a80d072382d40102c45800f282100001e011d00
7251d01e206e2855000f282100001e011d00bc52d01e20b82855400f28210000
1e8c0ad08a20e02d10103e96000f28210000180000000000000000000000000b
Manufacturer: HWP Model 3320 Serial Number 1
EDID version: 1.3
Established timings supported:
720x400@70Hz
640x480@60Hz
800x600@60Hz
1024x768@60Hz
Standard timings supported:
1920x1080@60Hz
1680x1050@60Hz
1600x900@60Hz
1440x900@60Hz
1280x1024@60Hz
1280x800@60Hz
1280x720@60Hz
Detailed mode (1) : Clock 148 MHz, 527 mm x 296 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
Monitor ranges (GTF): 50-60Hz V, 30-80kHz H, max dotclock 170MHz
Monitor name: HP 24es
Serial number: 3CM710122F
Has 1 extension blocks
Checksum: 0x9f (valid)
CEA extension block
Extension version: 3
21 bytes of CEA data
VIC 16 1920x1080@60Hz (native)
VIC 31 1920x1080@50Hz
VIC 4 1280x720@60Hz
VIC 19 1280x720@50Hz
VIC 3 720x480@60Hz
VIC 18 720x576@50Hz
VIC 1 640x480@60Hz
VIC 2 720x480@60Hz
VIC 17 720x576@50Hz
Vendor-specific data block, OUI 000c03 (HDMI)
Maximum TMDS clock: 170MHz
YCbCr quantization: (0)
RGB quantization: (0)
PT scan behaviour: (2)
IT scan behaviour: (2)
CE scan behaviour: (3)
Detailed mode (1) : Clock 148 MHz, 527 mm x 296 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
Detailed mode (1) : Clock 148 MHz, 527 mm x 296 mm
1920 2448 2492 2640 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
Detailed mode (1) : Clock 74 MHz, 527 mm x 296 mm
1280 1390 1430 1650 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
Detailed mode (1) : Clock 74 MHz, 527 mm x 296 mm
1280 1720 1760 1980 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
Detailed mode (1) : Clock 27 MHz, 527 mm x 296 mm
720 736 798 858 hborder 0
480 489 495 525 vborder 0
-hsync -vsync
Checksum: 0xb (valid)
bestmode is custombuilt, IEEEOUI 0x000c03
HDMI Mode
bestmode is custombuilt, IEEEOUI 0x000c03
HDMI Mode
161 bytes read in 3 ms (51.8 KiB/s)
** File not found uImage **
25461312 bytes read in 713 ms (34.1 MiB/s)
** File not found dtb/amlogic/meson-g12b-odroid-n2-plus.dtb **
80112 bytes read in 13 ms (5.9 MiB/s)
** File not found uInitrd **
16366032 bytes read in 460 ms (33.9 MiB/s)
ee_gate_off ...
## Booting kernel from Legacy Image at 01100000 ...
Image Name: Linux
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 25461248 Bytes = 24.3 MiB
Load Address: 01080000
Entry Point: 01080000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03700000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 16365968 Bytes = 15.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
active_slot is <NULL>
Unknown command 'store' - try 'help'
No dtbo patitions found
load dtb from 0x1000000 ......
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
No valid dtbo image found
Loading Kernel Image(COMP_NONE) ... OK
kernel loaded at 0x01080000, end = 0x028c8200
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
Loading Ramdisk to 3c864000, end 3d7ff990 ... OK
Loading Device Tree to 000000001ffe9000, end 000000001ffff8ef ... OK
Starting kernel ...
uboot time: 8836498 us
Give root password for maintenance
(or press Control-D to continue):
root@system:~# uname -a
Linux system 5.10.60-meson64 #21.08.1 SMP PREEMPT Wed Aug 25 19:29:40 UTC 2021 aarch64 GNU/Linux
root@system:~# cat /var/log/apt/history.log
Start-Date: 2024-04-03 10:11:58
Commandline: apt upgrade --without-new-pkgs
Upgrade: libnetfilter-conntrack3:arm64 (1.0.8-3, 1.0.9-3...
End-Date: 2024-04-03 10:16:32
Start-Date: 2024-04-03 10:20:02
Commandline: apt full-upgrade
Install: libperl5.36:arm64 (5.36.0-7+deb12u1, automatic), libnode108:arm64 (18.19.0+...
End-Date: 2024-04-03 10:52:59
Start-Date: 2024-04-03 10:59:13
Commandline: apt full-upgrade
Upgrade: php-redis:arm64 (6.0.2-1+0~20231128.56+debian11~1.gbp9f3071, 6.0.2-1+0~20231128.56+debian12~1.gbp9f3071), ...
End-Date: 2024-04-03 11:00:44
Start-Date: 2024-04-03 11:53:03
Commandline: apt full-upgrade
Install: armbian-bsp-cli-odroidn2-current:arm64 (24.2.1)
Upgrade: armbian-config:arm64 (23.02.2, 24.2.1), linux-image-current-meson64:arm64 (21.08.1, 24.2.1), armbian-zsh:arm64 (23.02.2, 24.2.1), linux-u-boot-odroidn2-current:arm64 (21.08.1, 24.2.1), base-files:arm64 (12.4+deb12u5, 24.2.1-12.4+deb12u5-bookworm), linux-dtb-current-meson64:arm64 (21.08.1, 24.2.1), armbian-bsp-cli-odroidn2:arm64 (23.02.2, 24.2.1)
End-Date: 2024-04-03 11:54:34
root@system:~#
content of /boot
drwxr-xr-x 3 root root 4096 3. Apr 11:58 .
drwxrwxrwx 19 root root 4096 3. Apr 11:54 ..
-rw-r--r-- 1 root root 161 3. Apr 11:58 armbianEnv.txt
-rw-r--r-- 1 root root 161 2. Nov 2021 armbianEnv.txt.old
-rw-r--r-- 1 root root 1531 30. Okt 2021 armbian_first_run.txt.template
-rw-r--r-- 1 root root 38518 26. Aug 2021 boot.bmp
-rw-r--r-- 1 root root 8075 3. Apr 11:54 boot.cmd
-rw-r--r-- 1 root root 5579 16. Jun 2023 boot.ini
-rw-r--r-- 1 root root 8147 3. Apr 11:54 boot.scr
-rw-r--r-- 1 root root 258772 29. Feb 18:56 config-6.6.16-current-meson64
-rwxr-xr-x 1 root root 120 1. Jan 1970 display.bin
lrwxrwxrwx 1 root root 26 3. Apr 11:54 dtb -> dtb-6.6.16-current-meson64
drwxr-xr-x 3 root root 4096 3. Apr 11:53 dtb-6.6.16-current-meson64
-rwxr-xr-x 1 root root 256 1. Jan 1970 edid.bin
lrwxrwxrwx 1 root root 30 3. Apr 11:54 Image -> vmlinuz-6.6.16-current-meson64
-rw-r--r-- 1 root root 16365968 3. Apr 11:54 initrd.img-6.6.16-current-meson64
-rw-r--r-- 1 root root 0 3. Apr 11:54 .next
-rw-r--r-- 1 root root 4424139 29. Feb 18:56 System.map-6.6.16-current-meson64
-rw-r--r-- 1 root root 25461312 9. Dez 2021 uImage
lrwxrwxrwx 1 root root 30 3. Apr 11:54 uInitrd -> uInitrd-6.6.16-current-meson64
-rw-r--r-- 1 root root 16366032 3. Apr 11:54 uInitrd-6.6.16-current-meson64
-rw-r--r-- 1 root root 28346880 29. Feb 18:56 vmlinuz-6.6.16-current-meson64
content of /boot/dtb/amlogic:
root@system:/boot# ls dtb/amlogic/
amlogic-c3-c302x-aw409.dtb meson-gxl-s805x-p241.dtb
amlogic-t7-a311d2-an400.dtb meson-gxl-s905d-libretech-pc.dtb
amlogic-t7-a311d2-khadas-vim4.dtb meson-gxl-s905d-mecool-kii-pro.dtb
meson-a1-ad401.dtb meson-gxl-s905d-p230.dtb
meson-axg-jethome-jethub-j100.dtb meson-gxl-s905d-p231.dtb
meson-axg-jethome-jethub-j110-rev-2.dtb meson-gxl-s905d-phicomm-n1.dtb
meson-axg-jethome-jethub-j110-rev-3.dtb meson-gxl-s905d-sml5442tw.dtb
meson-axg-s400.dtb meson-gxl-s905d-vero4k-plus.dtb
meson-g12a-radxa-zero.dtb meson-gxl-s905w-jethome-jethub-j80.dtb
meson-g12a-radxa-zero-spidev.dtb meson-gxl-s905w-p281.dtb
meson-g12a-sei510.dtb meson-gxl-s905w-tx3-mini.dtb
meson-g12a-u200.dtb meson-gxl-s905x-hwacom-amazetv.dtb
meson-g12a-x96-max.dtb meson-gxl-s905x-khadas-vim.dtb
meson-g12b-a311d-bananapi-m2s.dtb meson-gxl-s905x-libretech-cc.dtb
meson-g12b-a311d-khadas-vim3.dtb meson-gxl-s905x-libretech-cc-v2.dtb
meson-g12b-a311d-khadas-vim3-spidev.dtb meson-gxl-s905x-nexbox-a95x.dtb
meson-g12b-a311d-khadas-vim3-spinor.dtb meson-gxl-s905x-p212.dtb
meson-g12b-bananapi-cm4-cm4io.dtb meson-gxm-gt1-ultimate.dtb
meson-g12b-gsking-x.dtb meson-gxm-khadas-vim2.dtb
meson-g12b-gtking.dtb meson-gxm-mecool-kiii-pro.dtb
meson-g12b-gtking-pro.dtb meson-gxm-mini-m8s-pro.dtb
meson-g12b-odroid-go-ultra.dtb meson-gxm-minix-neo-u9h.dtb
meson-g12b-odroid-n2.dtb meson-gxm-nexbox-a1.dtb
meson-g12b-odroid-n2l.dtb meson-gxm-q200.dtb
meson-g12b-odroid-n2-plus.dtb meson-gxm-q201.dtb
meson-g12b-odroid-n2-plus-spidev.dtb meson-gxm-rbox-pro.dtb
meson-g12b-odroid-n2-plus-spinor.dtb meson-gxm-s912-libretech-pc.dtb
meson-g12b-odroid-n2-spinor.dtb meson-gxm-t95z-plus.dtb
meson-g12b-radxa-zero2.dtb meson-gxm-vega-s96.dtb
meson-g12b-radxa-zero2-spidev.dtb meson-gxm-wetek-core2.dtb
meson-g12b-s922x-bananapi-m2s.dtb meson-s4-s805x2-aq222.dtb
meson-g12b-s922x-khadas-vim3.dtb meson-sm1-a95xf3-air.dtb
meson-g12b-ugoos-am6.dtb meson-sm1-a95xf3-air-gbit.dtb
meson-g12b-waveshare-cm4-io-base-b.dtb meson-sm1-bananapi-m2-pro.dtb
meson-gxbb-kii-pro.dtb meson-sm1-bananapi-m5.dtb
meson-gxbb-nanopi-k2.dtb meson-sm1-h96-max.dtb
meson-gxbb-nexbox-a95x.dtb meson-sm1-khadas-vim3l.dtb
meson-gxbb-odroidc2.dtb meson-sm1-khadas-vim3l-spidev.dtb
meson-gxbb-p200.dtb meson-sm1-khadas-vim3l-spinor.dtb
meson-gxbb-p201.dtb meson-sm1-odroid-c4.dtb
meson-gxbb-vega-s95-meta.dtb meson-sm1-odroid-c4-spidev.dtb
meson-gxbb-vega-s95-pro.dtb meson-sm1-odroid-hc4.dtb
meson-gxbb-vega-s95-telos.dtb meson-sm1-sei610.dtb
meson-gxbb-wetek-hub.dtb meson-sm1-x96-air.dtb
meson-gxbb-wetek-play2.dtb meson-sm1-x96-air-gbit.dtb
meson-gxl-s805x-libretech-ac.dtb overlay
Before the last upgrade (with armbian bookworm repository), there was an directory rockchip in /boot/dtb (as link to dtb-5.10.60-meson64)
root@system:/boot/dtb-5.10.60-meson64# ls -al
insgesamt 16
drwxr-xr-x 4 root root 4096 9. Dez 2021 .
drwxr-xr-x 3 root root 4096 3. Apr 16:48 ..
drwxr-xr-x 3 root root 4096 9. Dez 2021 amlogic
drwxr-xr-x 2 root root 4096 9. Dez 2021 rockchip