Tina进不去shell
-
想尝试给D1s修改频率,在lichee/linux-5.4下执行
make ARCH=riscv menuconfig
根据
https://bbs.aw-ol.com/topic/753/faq-全志d1芯片-如何对d1主频进行调节?_=1639014588235
配置了一模一样的频率选项后编译打包烧录,遇到了进不去shell的情况,大佬们帮忙看一下这个是什么情况。[696]fes begin commit:e943759 [698]set pll start [700]fix vccio detect value:0xc0 [703]periph0 has been enabled [706]set pll end [708][pmu]: bus read error [710]board init ok [712]beign to init dram [714]ZQ value = 0x2e [716]get_pmu_exist() = -1 [719]ddr_efuse_type: 0xa [721]trefi:7.8ms [723][AUTO DEBUG] single rank and full DQ! [727]ddr_efuse_type: 0xa [729]trefi:7.8ms [731][AUTO DEBUG] rank 0 row = 13 [734][AUTO DEBUG] rank 0 bank = 4 [738][AUTO DEBUG] rank 0 page size = 2 KB [741]DRAM BOOT DRIVE INFO: V0.33 [744]DRAM CLK = 408 MHz [747]DRAM Type = 2 (2:DDR2,3:DDR3) [750]DRAMC read ODT off. [752]DRAM ODT off. [754]ddr_efuse_type: 0xa [757]DRAM SIZE =64 M [759]dram_tpr4:0x0 [760]PLL_DDR_CTRL_REG:0xf8002100 [763]DRAM_CLK_REG:0xc0000000 [766][TIMING DEBUG] MR2= 0x0 [771]DRAM simple test OK. [773]init dram ok U-Boot 2018.05-00022-g8848582aac (Dec 05 2021 - 08:25:33 +0000) Allwinner Technology [04.209]DRAM: 64 MiB [04.214]Relocation Offset is: 01edf000 [04.245]secure enable bit: 0 [04.251]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [04.258]flash init start [04.260]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [04.268][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [04.278][mmc]: get sdc_type fail and use default host:tm4. [04.313][mmc]: Is not Boot mode! [04.316][mmc]: SUNXI SDMMC Controller Version:0x50310 [04.328][mmc]: ************Try SD card 2************ [04.333][mmc]: mmc 2 cmd timeout 100 status 100 [04.337][mmc]: smc 2 err, cmd 8, RTO [04.340][mmc]: mmc 2 close bus gating and reset [04.346][mmc]: mmc 2 cmd timeout 100 status 100 [04.350][mmc]: smc 2 err, cmd 55, RTO [04.353][mmc]: mmc 2 close bus gating and reset [04.357][mmc]: ************Try MMC card 2************ [04.366][mmc]: mmc 2 cmd timeout 100 status 100 [04.370][mmc]: smc 2 err, cmd 1, RTO [04.374][mmc]: mmc 2 close bus gating and reset [04.378][mmc]: Card did not respond to voltage select! [04.383][mmc]: ************SD/MMC 2 init error!************ [04.388][mmc]: mmc init product failed MMC init failed try emmc fail [04.406]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [04.412]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [04.484]sunxi-spinand-phy: request spi0 gpio ok [04.488]sunxi-spinand-phy: request general tx dma channel ok! [04.493]sunxi-spinand-phy: request general rx dma channel ok! [04.499]sunxi-spinand-phy: set spic0 clk to 20 Mhz [04.503]sunxi-spinand-phy: init spic0 clk ok sspi->base_addr = 0x4025000, the SPI control register: [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184 [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020 [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002 [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000 [BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5 [04.549]sunxi-spinand-phy: not detect any munufacture from id table [04.566]sunxi-spinand-phy: get spi-nand Model from fdt fail [04.572]sunxi-spinand-phy: get phy info from fdt fail [04.576]sunxi-spinand-phy: not detect munufacture from fdt [04.582]sunxi-spinand-phy: detect munufacture from id table: Winbond [04.588]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [04.593]sunxi-spinand-phy: ========== arch info ========== [04.598]sunxi-spinand-phy: Model: W25N01GVZEIG [04.604]sunxi-spinand-phy: Munufacture: Winbond [04.609]sunxi-spinand-phy: DieCntPerChip: 1 [04.613]sunxi-spinand-phy: BlkCntPerDie: 1024 [04.618]sunxi-spinand-phy: PageCntPerBlk: 64 [04.622]sunxi-spinand-phy: SectCntPerPage: 4 [04.627]sunxi-spinand-phy: OobSizePerPage: 64 [04.631]sunxi-spinand-phy: BadBlockFlag: 0x0 [04.636]sunxi-spinand-phy: OperationOpt: 0x7 [04.640]sunxi-spinand-phy: MaxEraseTimes: 65000 [04.645]sunxi-spinand-phy: EccFlag: 0x0 [04.650]sunxi-spinand-phy: EccType: 2 [04.654]sunxi-spinand-phy: EccProtectedType: 3 [04.659]sunxi-spinand-phy: ======================================== [04.665]sunxi-spinand-phy: [04.667]sunxi-spinand-phy: ========== physical info ========== [04.673]sunxi-spinand-phy: TotalSize: 128 M [04.677]sunxi-spinand-phy: SectorSize: 512 B [04.681]sunxi-spinand-phy: PageSize: 2 K [04.685]sunxi-spinand-phy: BlockSize: 128 K [04.689]sunxi-spinand-phy: OOBSize: 64 B [04.693]sunxi-spinand-phy: ======================================== [04.699]sunxi-spinand-phy: [04.702]sunxi-spinand-phy: ========== logical info ========== [04.707]sunxi-spinand-phy: TotalSize: 128 M [04.711]sunxi-spinand-phy: SectorSize: 512 B [04.716]sunxi-spinand-phy: PageSize: 4 K [04.719]sunxi-spinand-phy: BlockSize: 256 K [04.724]sunxi-spinand-phy: OOBSize: 128 B [04.728]sunxi-spinand-phy: ======================================== [04.745]sunxi-spinand-phy: block lock register: 0x00 [04.750]sunxi-spinand-phy: feature register: 0x19 [04.755]sunxi-spinand-phy: sunxi physic nand init end [05.074]sunxi-spinand-phy: set spic0 clk to 100 Mhz [05.984]sunxi-spinand-phy: Sample mode:2 min_delay:5920 max_delay:14320 right_delay:0) [06.797]Loading Environment from SUNXI_FLASH... OK [06.812]try to burn key [06.816]out of usb burn from boot: not need burn key [06.820]Net: [06.822]No ethernet found. Hit any key to stop autoboot: 0 sunxi work mode=0x10 run usb efex delay time 2500 weak:otg_phy_config usb init ok set address 0x21 set address 0x21 ok SUNXI_EFEX_ERASE_TAG erase_flag = 0x12 origin_erase_flag = 0x1 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 the 0 mbr table is ok the 1 mbr table is ok the 2 mbr table is ok the 3 mbr table is ok *************MBR DUMP*************** total mbr part 7 part[0] name :boot-resource part[0] classname :DISK part[0] addrlo :0x8000 part[0] lenlo :0x1f8 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x81f8 part[1] lenlo :0x1f8 part[1] user_type :32768 part[1] keydata :0 part[1] ro :0 part[2] name :env-redund part[2] classname :DISK part[2] addrlo :0x83f0 part[2] lenlo :0x1f8 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :boot part[3] classname :DISK part[3] addrlo :0x85e8 part[3] lenlo :0x5000 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs part[4] classname :DISK part[4] addrlo :0xd5e8 part[4] lenlo :0xf000 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :rootfs_data part[5] classname :DISK part[5] addrlo :0x1c5e8 part[5] lenlo :0x2800 part[5] user_type :32768 part[5] keydata :0 part[5] ro :0 part[6] name :UDISK part[6] classname :DISK part[6] addrlo :0x1ede8 part[6] lenlo :0x0 part[6] user_type :0 part[6] keydata :0 part[6] ro :0 common1(partition3) need it, here is a weak func total part: 8 mbr 0, 8000, 8000 boot-resource 1, 1f8, 8000 env 2, 1f8, 8000 env-redund 3, 1f8, 8000 boot 4, 5000, 8000 rootfs 5, f000, 8000 rootfs_data 6, 2800, 8000 UDISK 7, 0, 0 [09.829]erase blk 0 to blk 32 [09.832]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.838]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.844]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.850]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.856]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.862]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.868]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.874]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.880]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.888]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [09.896]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 need erase flash: 18 [09.930]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x07b00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [09.991]MTD info (4) [09.993]pagesize: 0x1000 [09.995]blksize: 0x40000 [09.998]num offset bytes name [10.001]0 0x00000000 0x00100000 boot0 [10.005]1 0x00100000 0x00300000 uboot [10.008]2 0x00400000 0x00100000 secure_storage [10.013]3 0x00500000 0x07b00000 sys [10.016]ubi attach the last part of mtd device: NO.3 [10.140]ubi0: attaching mtd4 [10.372]ubi0: scanning is finished [10.415]ubi0: attached mtd4 (name "sys", size 123 MiB) [10.420]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [10.426]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [10.432]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [10.438]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [10.444]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128 [10.450]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [10.458]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20 [10.467]erase blk 0 to blk 32 [10.487]erase blk 40 to blk 1024 [11.356]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33 [11.367]Item0 (Map) magic is bad [11.370]the secure storage map is empty [11.543]sunxi-spinand: write secure storage itme 0 ok [11.548]erase secure storage: 0 ok SUNXI_EFEX_MBR_TAG mbr size = 0x10000 force mbr device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x07b00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [11.603]MTD info (4) [11.605]pagesize: 0x1000 [11.607]blksize: 0x40000 [11.609]num offset bytes name [11.613]0 0x00000000 0x00100000 boot0 [11.616]1 0x00100000 0x00300000 uboot [11.620]2 0x00400000 0x00100000 secure_storage [11.624]3 0x00500000 0x07b00000 sys [11.628]MBR info (unalign): [11.630]partno addr sects type name [11.635]0 0x00000000 0x00008000 0x00000001 mbr [11.640]1 0x00008000 0x000001f8 0x00008000 boot-resource [11.646]2 0x000081f8 0x000001f8 0x00008000 env [11.650]3 0x000083f0 0x000001f8 0x00008000 env-redund [11.656]4 0x000085e8 0x00005000 0x00008000 boot [11.661]5 0x0000d5e8 0x0000f000 0x00008000 rootfs [11.666]6 0x0001c5e8 0x00002800 0x00008000 rootfs_data [11.671]7 0x0001ede8 0x00000000 0x00000000 UDISK [11.676]ubi attach the last part of mtd device: NO.3 [11.681]MBR info (align): [11.683]partno addr sects type name [11.688]0 0x00002800 0x000081f0 0x00000001 mbr [11.693]1 0x0000a9f0 0x000001f8 0x00008000 boot-resource [11.698]2 0x0000abe8 0x000001f8 0x00008000 env [11.703]3 0x0000ade0 0x000001f8 0x00008000 env-redund [11.709]4 0x0000afd8 0x000050b8 0x00008000 boot [11.713]5 0x00010090 0x0000f030 0x00008000 rootfs [11.718]6 0x0001f0c0 0x00002958 0x00008000 rootfs_data [11.724]7 0x00021a18 0x00000000 0x00000000 UDISK [11.729]ubi attach the last part of mtd device: NO.3 [11.733]ubi attatch mtd, name: sys [11.737]ubi0: detaching mtd4 [11.741]ubi0: mtd4 is detached [11.744]ubi0: attaching mtd4 [11.855]ubi0: scanning is finished [11.858]ubi0: empty MTD device detected [11.905]ubi0: attached mtd4 (name "sys", size 123 MiB) [11.910]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [11.916]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [11.922]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [11.929]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [11.934]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128 [11.940]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0 [11.948]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20 Creating static volume mbr of size 17031168 Creating dynamic volume boot-resource of size 258048 Creating dynamic volume env of size 258048 Creating dynamic volume env-redund of size 258048 Creating dynamic volume boot of size 10579968 Creating dynamic volume rootfs of size 31481856 Creating dynamic volume rootfs_data of size 5419008 No size specified -> Using max size (55480320) [13.349]reset last volume size to 0x1a748 Creating dynamic volume UDISK of size 55480320 [13.456]fill gap start: volume mbr sects 0x7f80 [31.859]fill gap end: volume mbr [31.862]update partition map [31.865]logical area info: 468 258048 last_lba: 235871 [31.884]logical area info: 468 258048 last_lba: 235871 [31.902]logical area info: 468 258048 last_lba: 235871 [31.919]logical area info: 468 258048 last_lba: 235871 [31.937]logical area info: 468 258048 last_lba: 235871 [31.955]logical area info: 468 258048 last_lba: 235871 [31.973]logical area info: 468 258048 last_lba: 235871 [31.991]logical area info: 468 258048 last_lba: 235871 [32.008]logical area info: 468 258048 last_lba: 235871 [32.026]logical area info: 468 258048 last_lba: 235871 [32.044]logical area info: 468 258048 last_lba: 235871 [32.062]logical area info: 468 258048 last_lba: 235871 [32.079]logical area info: 468 258048 last_lba: 235871 [32.097]logical area info: 468 258048 last_lba: 235871 [32.115]logical area info: 468 258048 last_lba: 235871 [32.132]logical area info: 468 258048 last_lba: 235871 [32.150]logical area info: 468 258048 last_lba: 235871 [32.168]logical area info: 468 258048 last_lba: 235871 [32.186]logical area info: 468 258048 last_lba: 235871 [32.204]logical area info: 468 258048 last_lba: 235871 [32.221]logical area info: 468 258048 last_lba: 235871 [32.239]logical area info: 468 258048 last_lba: 235871 [32.257]logical area info: 468 258048 last_lba: 235871 [32.274]logical area info: 468 258048 last_lba: 235871 [32.292]logical area info: 468 258048 last_lba: 235871 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 [32.357]fill gap start: volume boot-resource sects 0x158 [32.530]fill gap end: volume boot-resource FEX_CMD_fes_verify_value, start 0x8000, size high 0x0:low 0x14000 FEX_CMD_fes_verify_value 0xe6f75b5c [32.615]fill gap start: volume env sects 0xf8 [32.786]fill gap end: volume env FEX_CMD_fes_verify_value, start 0x81f8, size high 0x0:low 0x20000 FEX_CMD_fes_verify_value 0xbd8750e7 [32.879]fill gap start: volume env-redund sects 0xf8 [33.051]fill gap end: volume env-redund FEX_CMD_fes_verify_value, start 0x83f0, size high 0x0:low 0x20000 FEX_CMD_fes_verify_value 0xbd8750e7 [36.455]fill gap start: volume boot sects 0x1d3c [37.534]fill gap end: volume boot FEX_CMD_fes_verify_value, start 0x85e8, size high 0x0:low 0x658800 FEX_CMD_fes_verify_value 0xb4160524 [41.671]fill gap start: volume rootfs sects 0xc300 [47.993]fill gap end: volume rootfs FEX_CMD_fes_verify_value, start 0xd5e8, size high 0x0:low 0x5a0000 FEX_CMD_fes_verify_value 0xc6b4b9c8 bootfile_mode=4 SUNXI_EFEX_BOOT1_TAG boot1 size = 0x10c000, max size = 0x200000 uboot size = 0x10c000 storage type = 0 [49.070]uboot blk range [8-32) [49.073]download uboot to block 8 (9 blocks) len 1072K [49.574]download uboot to block 17 (9 blocks) len 1072K FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 bootfile_mode=4 SUNXI_EFEX_BOOT0_TAG boot0 size = 0x14000 dram para[0] = 198 dram para[1] = 2 dram para[2] = 7b7bf9 dram para[3] = 0 dram para[4] = d2 dram para[5] = 400000 dram para[6] = a63 dram para[7] = 2 dram para[8] = 0 dram para[9] = 0 dram para[10] = 45994e dram para[11] = 121210a dram para[12] = 43032 dram para[13] = b4787896 dram para[14] = 0 dram para[15] = 48484848 dram para[16] = 48 dram para[17] = 1621121e dram para[18] = 0 dram para[19] = 0 dram para[20] = 0 dram para[21] = 30010 dram para[22] = 35 dram para[23] = b4006003 dram para[24] = 0 dram para[25] = 0 dram para[26] = 0 dram para[27] = 0 dram para[28] = 0 dram para[29] = 0 dram para[30] = 0 dram para[31] = 0 storage type = 0 [50.175]download boot0 to block 0 len 80K [50.217]download boot0 to block 1 len 80K [50.258]download boot0 to block 2 len 80K [50.300]download boot0 to block 3 len 80K [50.341]download boot0 to block 4 len 80K [50.382]download boot0 to block 5 len 80K [50.424]download boot0 to block 6 len 80K [50.465]download boot0 to block 7 len 80K FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 sunxi_efex_next_action=2 exit usb next work 2 ▒[164]HELLO! BOOT0 is starting! [167]BOOT0 commit : e943759 [170]set pll start [172]periph0 has been enabled [175]set pll end [176][pmu]: bus read error [179]board init ok [181]ZQ value = 0x2e [183]get_pmu_exist() = -1 [185]DRAM BOOT DRIVE INFO: V0.33 [188]DRAM CLK = 408 MHz [190]DRAM Type = 2 (2:DDR2,3:DDR3) [194]DRAMC read ODT off. [196]DRAM ODT off. [198]ddr_efuse_type: 0xa [201]DRAM SIZE =64 M [203]dram_tpr4:0x0 [204]PLL_DDR_CTRL_REG:0xf8002100 [207]DRAM_CLK_REG:0xc0000000 [210][TIMING DEBUG] MR2= 0x0 [215]DRAM simple test OK. [217]dram size =64 [219]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [224]block from 8 to 32 [283]Check is correct. [285]dma 0x30338 int is not used yet [289]dma 0x30338 int is free, you do not need to free it again [294]Entry_name = opensbi [297]Entry_name = u-boot [302]Entry_name = dtb ▒304]Jump to second Boot. U-Boot 2018.05-00022-g8848582aac (Dec 05 2021 - 08:25:33 +0000) Allwinner Technology [00.315]DRAM: 64 MiB [00.317]Relocation Offset is: 01edf000 [00.322]secure enable bit: 0 [00.324]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.331]flash init start [00.333]workmode = 0,storage type = 0 sspi->base_addr = 0x4025000, the SPI control register: [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184 [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020 [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002 [SDC] 0x4025028 = 0x00000080, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000 [BCC] 0x4025038 = 0x20000000, [DMA] 0x4025088 = 0x000000e5 [00.380]sunxi-spinand-phy: not detect any munufacture from id table [00.387]sunxi-spinand-phy: get spi-nand Model from fdt fail [00.392]sunxi-spinand-phy: get phy info from fdt fail device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x07b00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [00.506]ubi0: attaching mtd4 [00.603]ubi0: scanning is finished [00.610]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.615]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.621]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.627]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.633]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [00.639]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128 [00.645]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.653]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20 [00.662]sunxi flash init ok [00.664]line:703 init_clocks [00.667]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. fdt get node offset faill: hdmi [00.685]unable to map hdmi registers [00.688]drv_disp_init finish [00.691]boot_gui_init:start [00.694]set disp.dev2_output_type fail. using defval=0 [00.700]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 0 ms [00.817]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 2 ms (18.3 MiB/s) [00.881]LCD open finish [00.930]Loading Environment from SUNXI_FLASH... OK [00.952]out of usb burn from boot: not need burn key [00.958]Item0 (Map) magic is bad partno erro : can't find partition private [00.985]update bootcmd [00.998]change working_fdt 0x42a9eda0 to 0x42a7eda0 No reserved memory region found in source FDT [01.026]update dts noncached_alloc(): addr = 0x42c9b080 noncached_alloc(): addr = 0x42c9b0c0 noncached_alloc(): addr = 0x42c9b100 noncached_alloc(): addr = 0x42c9b940 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [01.046]Board Net Initialization Failed [01.050]No ethernet found. Hit any key to stop autoboot: 0 [02.389]no vendor_boot partition is found Android's image name: d1s-evb1 Detect comp none [02.408] Starting kernel ... Linux version 5.4.61 (kunyao@AwExdroid89) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #7 PREEMPT Wed Dec 8 07:14:26 UTC 2021 Zone ranges: DMA32 [mem 0x0000000040000000-0x0000000043ffffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040000000-0x0000000043ffffff] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] On node 0 totalpages: 16384 DMA32 zone: 224 pages used for memmap DMA32 zone: 0 pages reserved DMA32 zone: 16384 pages, LIFO batch:3 elf_hwcap is 0x20112d pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists, mobility grouping on. Total pages: 16160 Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:rootfs_data@ubi0_6:UDISK@ubi0_7: cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-00022-g8848582aac(12/05/2021-08:2 Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) Sorting __ex_table... mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 56004K/65536K available (4151K kernel code, 400K rwdata, 1564K rodata, 140K init, 226K bss, 9532K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 rcu: Preemptible hierarchical RCU implementation. Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 plic: mapped 200 interrupts with 1 handlers for 2 contexts. riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns riscv_timer_clockevent depends on broadcast, but no broadcast function available clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) ASID allocator initialised with 65536 entries rcu: Hierarchical SRCU implementation. devtmpfs: initialized random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: 0, 6144 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic allocations cpuidle: using governor menu rtc_ccu: sunxi ccu init OK clock: sunxi ccu init OK clock: sunxi ccu init OK iommu: Default domain type: Translated sunxi iommu: irq = 4 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Advanced Linux Sound Architecture Driver Initialized. pwm module init! g2d 5410000.g2d: Adding to iommu group 0 G2D: rcq version initialized.major:253 clocksource: Switched to clocksource riscv_clocksource sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) TCP: Hash tables configured (established 512 bind 512) UDP hash table entries: 256 (order: 1, 8192 bytes, linear) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) NET: Registered protocol family 1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator spi spi0: spi0 supply spi not found, using dummy regulator sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE sunxi_spi_resource_get()2198 - sample_mode:2 sample_delay:0 sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 workingset: timestamp_bits=62 max_order=14 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher ntfs: driver 2.1.32 [Flags: R/W]. io scheduler mq-deadline registered io scheduler kyber registered [DISP]disp_module_init disp 5000000.disp: Adding to iommu group 0 [DISP] disp_init,line:2386: smooth display screen:0 type:1 mode:4 display_fb_request,fb_id:0 Freeing logo buffer memory: 1500K disp_al_manager_apply ouput_type:1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [DISP]disp_module_init finish sunxi_sid_init()551 - insmod ok pwm-regulator: supplied by regulator-dummy sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator uart uart0: get regulator failed uart uart0: uart0 supply uart not found, using dummy regulator uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n printk: console [ttyS0] enabled misc dump reg init sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=138 assert=1 sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=139 assert=1 sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=135 assert=0 [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ADDR_MGT] addr_mgt_probe: success. sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 sunxi-spinand-phy: not detect any munufacture from id table sunxi-spinand-phy: get spi-nand Model from fdt fail sunxi-spinand-phy: get phy info from fdt fail sunxi-spinand-phy: not detect munufacture from fdt sunxi-spinand-phy: not detect any munufacture from id table sunxi-spinand-phy: get spi-nand Model from fdt fail sunxi-spinand-phy: get phy info from fdt fail sunxi-spinand-phy: not detect munufacture from fdt sunxi-spinand-phy: not match spinand: 4254df 0 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver sunxi-ehci: EHCI SUNXI driver get ehci1-controller wakeup-source is fail. sunxi ehci1-controller don't init wakeup source [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000646830, 0x:ffffffd00406f000, irq_no:31 sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver sunxi-ohci: OHCI SUNXI driver get ohci1-controller wakeup-source is fail. sunxi ohci1-controller don't init wakeup source [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000646bf8 sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected i2c /dev entries driver IR NEC protocol handler initialized sunxi cedar version 1.1 sunxi-cedar 1c0e000.ve: Adding to iommu group 0 VE: install start!!! VE: cedar-ve the get irq is 6 VE: install end!!! VE: sunxi_cedar_probe sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 sunxi-mmc 4020000.sdmmc: No vmmc regulator found sunxi-mmc 4020000.sdmmc: No vqmmc regulator found sunxi-mmc 4020000.sdmmc: No vdmmc regulator found sunxi-mmc 4020000.sdmmc: No vd33sw regulator found sunxi-mmc 4020000.sdmmc: No vd18sw regulator found sunxi-mmc 4020000.sdmmc: No vq33sw regulator found sunxi-mmc 4020000.sdmmc: No vq18sw regulator found sunxi-mmc 4020000.sdmmc: Got CD GPIO sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4020000.sdmmc: detmode:gpio irq sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 sunxi-mmc 4021000.sdmmc: No vmmc regulator found sunxi-mmc 4021000.sdmmc: No vqmmc regulator found sunxi-mmc 4021000.sdmmc: No vdmmc regulator found sunxi-mmc 4021000.sdmmc: No vd33sw regulator found sunxi-mmc 4021000.sdmmc: No vd18sw regulator found sunxi-mmc 4021000.sdmmc: No vq33sw regulator found sunxi-mmc 4021000.sdmmc: No vq18sw regulator found sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: detmode:manually by software sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! ashmem: initialized sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B exFAT: Version 1.3.0 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sun8iw20-pinctrl 2000000.pinctrl: pin PF6 already requested by 2000000.pinctrl:166; cannot claim for 2034000.daudio sun8iw20-pinctrl 2000000.pinctrl: pin-166 (2034000.daudio) status -22 sun8iw20-pinctrl 2000000.pinctrl: could not request pin 166 (PF6) from group PF6 on device 2000000.pinctrl sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-daudio 2034000.daudio: Error applying setting, reverse things back sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-daudio: probe of 2034000.daudio failed with error -22 sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [SNDCODEC][sunxi_card_init][583]:card init finished sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [SNDCODEC][sunxi_card_dev_probe][836]:register card finished NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator sunxi-i2c sunxi-i2c2: probe success sun8iw20-pinctrl 2000000.pinctrl: pin PF6 already requested by 2000000.pinctrl:166; cannot claim for 2034000.daudio sun8iw20-pinctrl 2000000.pinctrl: pin-166 (2034000.daudio) status -22 sun8iw20-pinctrl 2000000.pinctrl: could not request pin 166 (PF6) from group PF6 on device 2000000.pinctrl sunxi-daudio 2034000.daudio: Error applying setting, reverse things back sunxi-daudio: probe of 2034000.daudio failed with error -22 get ehci0-controller wakeup-source is fail. sunxi ehci0-controller don't init wakeup source [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006460a0, 0x:ffffffd0040e3000, irq_no:2e [sunxi-ehci0]: Not init ehci0 get ohci0-controller wakeup-source is fail. sunxi ohci0-controller don't init wakeup source [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000646468 [sunxi-ohci0]: Not init ohci0 UBI error: cannot open mtd sys, error -2 UBI: block: can't open volume on ubi0_-1, err=-19 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 cfg80211: failed to load regulatory.db clk: Not disabling unused clocks ALSA device list: #0: audiocodec alloc_fd: slot 0 not NULL! /dev/root: Can't open blockdev VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #7 Call Trace: [<ffffffe00002512c>] walk_stackframe+0x0/0x98 [<ffffffe0000252e4>] show_stack+0x2a/0x34 [<ffffffe00041b038>] dump_stack+0x20/0x28 [<ffffffe0000296ec>] panic+0xec/0x272 [<ffffffe000000ef6>] mount_block_root+0x214/0x27a [<ffffffe000000fe2>] mount_root+0x86/0x90 [<ffffffe000001134>] prepare_namespace+0x148/0x152 [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198 [<ffffffe00042bbec>] kernel_init+0x12/0xee [<ffffffe000023e98>] ret_from_exception+0x0/0xc ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
以上为烧录和启动的log。
-
上面这个问题是在使用menuconfig配置了cpu power management后发生的
勾选了cpu frequency scaling的最后一项目。
但目前发现即使把勾选的选项去除重新编译也会出现以上问题,难以理解。 -
“勾选的选项去除重新编译也会出现以上问题”说明不是这个地方导致的,你重新检查一下到底是哪里做了修改,不行就check out回去试一下,out目录下的内容重新删掉试一下
-
@randolph 考虑内核以及分区表的配置吧,将 sys_partition.fex 的修改去掉,然后 config-4.9 的修改也去掉。
同时,如果希望修改内核的配置,建议不要使用 make ARCH=riscv menuconfig 命令,而使用 make kernel_menuconfig 进行配置修改,这样可以看到我们方案的默认内核配置,避免其他的一些错误修改导致异常。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号