Jump to content

Recommended Posts

Posted

The latest version Bookworm cannot start up when use udisk

Perhaps the latest version of the kernel does not support USB drive startup。

The name of image is "Armbian_23.8.0-trunk.71_Aml-s9xx-box_bookworm_edge_6.4.2.img"

The log is as follows:

scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
522 bytes read in 28 ms (17.6 KiB/s)
1:    Armbian
Retrieving file: /uInitrd
reading /uInitrd
22828930 bytes read in 679 ms (32.1 MiB/s)
Retrieving file: /Image
reading /Image
27617792 bytes read in 802 ms (32.8 MiB/s)
append: root=UUID=deeabe18-1741-4611-8a5a-3581d9f4f77b rootflags=data=writeback console=ttyAML0,115200n8 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
Retrieving file: /dtb/amlogic/meson-g12a-u200.dtb
reading /dtb/amlogic/meson-g12a-u200.dtb
72501 bytes read in 41 ms (1.7 MiB/s)
[rsvmem] get fdtaddr NULL!
rsvmem - reserve memory

Usage:
rsvmem check                   - check reserved memory
rsvmem dump                    - dump reserved memory

rsvmem check failed
## Loading init Ramdisk from Legacy Image at 03080000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    22828866 Bytes = 21.8 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 ......
ERROR: Did not find a cmdline Flattened Device Tree
load dtb from 0x0 ......
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
card out
** Bad device mmc 1 **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
odroidn2#
 

Posted

Same issue. Mine is also a similar g12a device. I tested from 23.8.1 - 23.11.1 and all have problems. But works fine on my gxl device.

 

G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;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:00008267

L3:04000000

S1:00000000

B2:00002000

B1:e0f83180

 

TE: 96329

 

BL2 Built : 14:02:05, Nov 23 2020. g12a g966c864 - gongwei.chen@droid11-sz

 

Board ID = 1

Set cpu clk to 24M

Set clk81 to 24M

CPU clk: 1200 MHz

Set clk81 to 166.6M

eMMC boot @ 0

sw8 s

board id: 1

Load FIP HDR DDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0

fw parse done

PIEI prepare done

00000000

emmc switch 1 ok

ddr saved addr:00016000

Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0

00000000

emmc switch 0 ok

fastboot data verify

result: 255

Cfg max: 12, cur: 1. Board id: 255. Force loop cfg

LPDDR4 probe

 

LPDDR4_PHY_V_0_1_22-Built : 15:59:30, May 25 2020. g12a gb6bfa83 - gongwei.chen@droid11-sz

ddr clk to 1176MHz

 

dmc_version 0000

Check phy result

INFO : End of CA training

INFO : End of initialization

INFO : Training has run successfully!

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 read delay center optimization

INFO : Training has run successfully!

Check phy result

INFO : End of initialization

INFO : End of MPR read delay center optimization

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

Check phy result

INFO : End of initialization

INFO : End of 2D read delay Voltage center optimization

INFO : End of 2D read delay Voltage center optimization

INFO : End of 2D write delay Voltage center optimization

INFO : End of 2D write delay Voltage center optimization

INFO : Training has run successfully!

 

soc_vref_reg_value 0x 00000024 00000024 00000026 00000025 00000024 00000027 00000026 00000025 00000024 00000025 00000025 00000024 00000026 00000025 00000025 00000026 00000025 00000027 00000027 00000024 00000026

dram_vref_reg_value 0x 00000060

2D training succeed

auto size-- 65535DDR cs0 size: 1024MB

DDR cs1 size: 1024MB

DMC_DDR_CTRL: 00e0001bDDR size: 2048MB

cs0 DataBus test pass

cs1 DataBus test pass

cs0 AddrBus test pass

cs1 AddrBus test pass

 

non-sec scramble use zero key

ddr scramble enabled

 

100bdlr_step_size ps== 447

result report

boot times 1Enable 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: 0x00078200, des: 0x01768000, size: 0x000dac00, part: 0

BL33 CHK: 0x000000ff ADDR 017a7170

Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 1

00000000

emmc switch 1 ok

Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x000dac00, part: 1

0.0;M3 CHK:0;cm4_sp_mode 0

[Image: g12a_v1.1.3394-7d43064d5 2020-05-07 15:37:06 gongwei.chen@droid11-sz]

OPS=0x70

ring efuse init

28 0c 70 00 01 15 11 00 00 09 35 38 39 41 48 50

[1.072094 Inits done]

secure task start!

high task start!

low task start!

boot bl31

NOTICE:  BL31: v1.3(release):079690f10

NOTICE:  BL31: Built : 16:11:33, Nov  8 2021

NOTICE:  BL31: G12A normal boot!

NOTICE:  BL31: BL33 decompress pass

ERROR:   Error initializing runtime service opteed_fast

 

 

U-Boot 2015.01 (Dec 30 2021 - 18:08:05)

 

DRAM:  2 GiB

Relocation Offset is: 76e3b000

mmu cfg end: 0x80000000

mmu cfg end: 0x80000000

spi_post_bind(spifc): req_seq = 0

register usb cfg[0][1] = 0000000077f387e8

NAND:  get_sys_clk_rate_mtd() 292, clock setting 200!

bus cycle0: 6,timing: 7

NAND device id: 0 ff ff ff ff ff

No NAND device found!!!

nand init failed: -6

get_sys_clk_rate_mtd() 292, clock setting 200!

bus cycle0: 6,timing: 7

NAND device id: 0 ff ff ff ff ff

No NAND device found!!!

nand init failed: -6

MMC:   aml_priv->desc_buf = 0x0000000073e2bd90

aml_priv->desc_buf = 0x0000000073e2e0d0

SDIO Port B: 0, SDIO Port 😄 1

co-phase 0x2, tx-dly 0, clock 400000

co-phase 0x2, tx-dly 0, clock 400000

co-phase 0x2, tx-dly 0, clock 400000

emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800

emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800

co-phase 0x2, tx-dly 0, clock 400000

co-phase 0x2, tx-dly 0, clock 40000000

[set_emmc_calc_fixed_adj][875]find fixed adj_delay=20

init_part() 297: PART_TYPE_AML

[mmc_init] mmc init success

      Amlogic multi-dtb tool

      GZIP format, decompress...

      Multi dtb detected

      Multi dtb tool version: v2 .

      Support 3 dtbs.

        aml_dt soc: g12a platform: u212 variant: 2g

        dtb 0 soc: g12a   plat: u212   vari: 1g

        dtb 1 soc: g12a   plat: u212   vari: 2g

        dtb 2 soc: sm1   plat: ac213   vari: 2g

      Find match dtb: 1

start dts,buffer=0000000073e30920,dt_addr=0000000073e30920

get_partition_from_dts() 92: ret 0

      Amlogic multi-dtb tool

      Single dtb detected

parts: 18

00:      logo   0000000000800000 1

01:  recovery   0000000001800000 1

02:      misc   0000000000800000 1

03:      dtbo   0000000000800000 1

04:  cri_data   0000000000800000 2

05:     param   0000000001000000 2

06:      boot   0000000001000000 1

set has_boot_slot = 0

07:       rsv   0000000001000000 1

08:  metadata   0000000001000000 1

09:    vbmeta   0000000000200000 1

10:       tee   0000000002000000 1

11:    vendor   0000000014000000 1

12:       odm   0000000008000000 1

13:    system   0000000050000000 1

14:   product   0000000008000000 1

15:     cache   0000000040000000 2

16:    backup   0000000040000000 2

17:      data   ffffffffffffffff 4

init_part() 297: PART_TYPE_AML

eMMC/TSD partition table have been checked OK!

crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!

crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!

crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!

mmc env offset: 0x47400000

In:    serial

Out:   serial

Err:   serial

board_late_init: boardid = 0x1

reboot_mode=normal

[store]To run cmd[emmc dtb_read 0x1000000 0x40000]

_verify_dtb_checksum()-3476: calc eef30c2, store eef30c2

_verify_dtb_checksum()-3476: calc eef30c2, store eef30c2

dtb_read()-3691: total valid 2

update_old_dtb()-3672: do nothing

      Amlogic multi-dtb tool

      GZIP format, decompress...

      Multi dtb detected

      Multi dtb tool version: v2 .

      Support 3 dtbs.

        aml_dt soc: g12a platform: u212 variant: 2g

        dtb 0 soc: g12a   plat: u212   vari: 1g

        dtb 1 soc: g12a   plat: u212   vari: 2g

        dtb 2 soc: sm1   plat: ac213   vari: 2g

      Find match dtb: 1

amlkey_init() enter!

[EFUSE_MSG]keynum is 4

vpu: driver version: v20190313

vpu: detect chip type: 8

vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz)

vpu: clk_level in dts: 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: vpp osd2 matrix rgb2yuv..............

hdr_func 4, hdr_process_select 0x1

cvbs: cpuid:0x28

vdac_gsw_init: 0x0

cvbs: find clk_path: 0x0

cvbs: find performance_pal config

cvbs: find performance_ntsc config

hpd_state=0

do_hpd_detect: hdmimode=1080p60hz

do_hpd_detect: colorattribute=rgb,8bit

Saving Environment to aml-storage...

mmc env offset: 0x47400000

Writing to MMC(1)... done

aml_config_dtb 633

aml_config_dtb 663

co_phase = <0x00000003>

caps2 = "??"_CAP2_HS200"

status = "disabled"

status = "okay"

Net:   dwmac.ff3f0000amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

 

wipe_data=successful

wipe_cache=successful

upgrade_step=2

reboot_mode:::: normal

ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath}

6220854 bytes read in 180 ms (33 MiB/s)

[imgread]load bmp from ext4 part okay

bmp pixel: 24

[OSD]load fb addr from dts:/meson-fb

[OSD]set initrd_high: 0x7f800000

[OSD]fb_addr for logo: 0x7f800000

[OSD]load fb addr from dts:/meson-fb

[OSD]fb_addr for logo: 0x7f800000

[OSD]VPP_OFIFO_SIZE:0xfff01fff

[CANVAS]canvas init

[CANVAS]addr=0x7f800000 width=5760, height=2160

[OSD]osd_hw.free_dst_data: 0,719,0,575

[OSD]osd1_update_disp_freescale_enable

vpp: vpp_matrix_update: 2

cvbs_performance_enhancement

cvbs_config_hdmipll_g12a

cvbs_set_vid2_clk

vdac_enable: 1, module_sel:0x8

hdr_packet

vpp: hdr_policy = 1

vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0

amlkey_init() enter!

amlkey_init() 71: already init!

[EFUSE_MSG]keynum is 4

[KM]Error:f[key_manage_query_size]L515:key[oemkey] not programed yet

Command: bcb uboot-command

Start read misc partition datas!

BCB hasn't any datas,exit!

time_out = 7a120

key[0] = b8471420

key[1] = b847ff00

key[2] = 6699dd22

key[3] = 66994cb3

irkey - irkey <timeout> <key1> ...<keyN> - maximum value of N: 10

 

Usage:

irkey - No additional help available.

Hit Enter or space or Ctrl+C key to stop autoboot -- :  0

card out

(Re)start USB...

USB0:   USB3.0 XHCI init start

Register 3000140 NbrPorts 2

Starting the controller

USB XHCI 1.10

scanning bus 0 for devices... 2 USB Device(s) found

       scanning usb for storage devices... init_part() 282: PART_TYPE_DOS

1 Storage Device(s) found

reading s905_autoscript

537 bytes read in 23 ms (22.5 KiB/s)

## Executing script at 01020000

start amlogic old u-boot

## Error: "bootfromsd" not defined

card out

** Bad device mmc 0 **

reading boot_android

** Unable to read file boot_android **

card out

** Bad device mmc 0 **

reading u-boot.ext

740080 bytes read in 68 ms (10.4 MiB/s)

## Starting application at 0x01000000 ...

 

 

U-Boot 2015.01-dirty (Aug 14 2020 - 19:56:34)

 

DRAM:  2 GiB

Relocation Offset is: 76eec000

spi_post_bind(spifc): req_seq = 0

register usb cfg[0][1] = 0000000077f83f48

MMC:   aml_priv->desc_buf = 0x0000000073edc7c0

aml_priv->desc_buf = 0x0000000073edeb00

SDIO Port 😄 0, SDIO Port B: 1

Using default environment

 

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: 8

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:0x28

cvbs_config_hdmipll_g12a

cvbs_set_vid2_clk

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

Failed to mount ext2 filesystem...

** Unrecognized filesystem type **

Failed to mount ext2 filesystem...

** Unrecognized filesystem type **

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.ff3f0000MACADDR:02:00:00:11:15:01(from chipid)

 

Hit Enter or space or Ctrl+C key to stop autoboot -- :  0

(Re)start USB...

USB0:   USB3.0 XHCI init start

Register 3000140 NbrPorts 2

Starting the controller

USB XHCI 1.10

scanning bus 0 for devices... 2 USB Device(s) found

       scanning usb for storage devices... 1 Storage Device(s) found

Found /extlinux/extlinux.conf

Retrieving file: /extlinux/extlinux.conf

reading /extlinux/extlinux.conf

532 bytes read in 29 ms (17.6 KiB/s)

1:      Armbian

Retrieving file: /uInitrd

reading /uInitrd

15122788 bytes read in 878 ms (16.4 MiB/s)

Retrieving file: /Image

reading /Image

27433472 bytes read in 1579 ms (16.6 MiB/s)

append: root=UUID=b134c113-5cbe-4ccc-ab4a-6c24dde01dd3 rootflags=data=writeback console=ttyAML0,115200n8 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymous

Retrieving file: /dtb/amlogic/meson-g12a-u200.dtb

reading /dtb/amlogic/meson-g12a-u200.dtb

72240 bytes read in 43 ms (1.6 MiB/s)

[rsvmem] get fdtaddr NULL!

rsvmem - reserve memory

 

Usage:

rsvmem check                   - check reserved memory

rsvmem dump                    - dump reserved memory

 

rsvmem check failed

## Loading init Ramdisk from Legacy Image at 03080000 ...

   Image Name:   uInitrd

   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)

   Data Size:    15122724 Bytes = 14.4 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 ......

ERROR: Did not find a cmdline Flattened Device Tree

load dtb from 0x0 ......

ERROR: Did not find a cmdline Flattened Device Tree

Could not find a valid device tree

SCRIPT FAILED: continuing...

** Bad device usb 1 **

** Bad device usb 2 **

** Bad device usb 3 **

card out

** Bad device mmc 1 **

Failed to mount ext2 filesystem...

** Unrecognized filesystem type **

odroidn2#

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines