設置 | 登錄 | 註冊

目前共有3篇帖子。

rv1106修改uboot的命令行等待時間

1樓 巨大八爪鱼 2025-5-22 15:52
運行./build.sh的時候,看下命令行輸出的TARGET_UBOOT_CONFIG的值是什麼defconfig。
============================================
TARGET_ARCH=arm
TARGET_UBOOT_CONFIG=luckfox_rv1106_uboot_defconfig rk-sfc.config
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=luckfox_rv1106_linux_defconfig
TARGET_KERNEL_DTS=rv1106g-luckfox-pico-pro.dts
TARGET_RECOVERY_CONFIG=
TARGET_RAMBOOT_CONFIG=
============================================
因為TARGET_UBOOT_CONFIG=luckfox_rv1106_uboot_defconfig,
所以修改sysdrv/source/uboot/u-boot/configs/luckfox_rv1106_uboot_defconfig文件。
將裏面的CONFIG_BOOTDELAY=0改成5。
運行./build.sh,重新開始編譯,然後燒錄到板子上。
2樓 巨大八爪鱼 2025-5-22 15:52

最終效果:

SoftReset, 2888鳧DR 306b9977f5 wesley.yao 23/12/21-09:28:37,fwver: v1.15
S5P1
4x
f967
F
DDRConf2
DDR3, BW=16 Col=10 Bk=8 CS0 Row=14 CS=1 Size=256MB
924MHz
DDR bin out

U-Boot SPL board init
U-Boot SPL 2017.09 (May 22 2025 - 15:45:43)
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 2
MMC: no card present
mmc_init: -123, time 2
spl: mmc init failed with error: -123
Trying to boot from MTD1
ENVF: Primary 0x00000000 - 0x00040000
No misc partition
Trying fit image at 0x400 sector
## Verified-boot: 0
## Checking uboot 0x00200000 (lzma @0x00400000) ... sha256(4909a1266d...) + sha256(e8067483f1...) + OK
## Checking fdt 0x00260998 ... sha256(9f596c5683...) + OK
Total: 122.945/203.216 ms

Jumping to U-Boot(0x00200000)


U-Boot 2017.09 (May 22 2025 - 15:45:43 +0800)

Model: Rockchip RV1106 EVB Board
MPIDR: 0xf00
PreSerial: 2, raw, 0xff4c0000
DRAM:  256 MiB
Sysmem: init
Relocation Offset: 0fd81000
Relocation fdt: 0edfa778 - 0edfede0
CR: M/C/I
Using default environment

Bootdev(atags): mtd 1
ENVF: Primary 0x00000000 - 0x00040000
PartType: ENV
DM: v2
No misc partition
boot mode: normal
RESC: 'boot', blk@0x00001f77
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Model: Luckfox Pico Pro
## retrieving sd_update.txt ...
MMC: no card present
mmc_init: -123, time 2
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 924000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  aclk_peri_root 400000 KHz
  hclK_peri_root 200000 KHz
  pclk_peri_root 100000 KHz
  aclk_bus_root 300000 KHz
  pclk_top_root 100000 KHz
  pclk_pmu_root 100000 KHz
  hclk_pmu_root 200000 KHz
Net:   eth0: ethernet@ffa80000
Hit key to stop autoboot('CTRL+C'):  0
=>

 

3樓 巨大八爪鱼 2025-5-22 15:53

打印所有環境變量的值:

=> print
arch=arm
autoload=no
baudrate=115200
board=evb_rv1106
board_name=evb_rv1106
bootargs=storagemedia=mtd androidboot.storagemedia=mtd androidboot.mode=normal
bootcmd=boot_fit;boot_android ${devtype} ${devnum};
bootdelay=5
cpu=armv7
devnum=1
devtype=mtd
eth1addr=fe:48:e8:0b:7d:b9
ethaddr=fa:48:e8:0b:7d:b9
fdt_addr_r=0x00c00000
kernel_addr_c=0x00808000
kernel_addr_r=0x00008000
mtdparts=spi-nand0:256K(env),256K@256K(idblock),512K(uboot),4M(boot),30M(oem),10M(userdata),210M(rootfs)
pxefile_addr_r=0x00c00000
ramdisk_addr_r=0x000e00000
rkimg_bootdev=if mmc dev 1 && rkimgtest mmc 1; then setenv devtype mmc; setenv devnum 1; echo Boot from SDcard;elif mmc dev 0; then setenv devtype mmc; setenv devnum 0;elif mtd_blk dev 0; then setenv devtype mtd; setenv devnum 0;elif mtd_blk dev 1; then setenv devtype mtd; setenv devnum 1;elif mtd_blk dev 2; then setenv devtype mtd; setenv devnum 2;elif rknand dev 0; then setenv devtype rknand; setenv devnum 0;elif rksfc dev 0; then setenv devtype spinand; setenv devnum 0;elif rksfc dev 1; then setenv devtype spinor; setenv devnum 1;else;setenv devtype ramdisk; setenv devnum 0;fi;
scriptaddr=0x00b00000
serial#=b87272d0dfc8c48f
soc=rockchip
stderr=serial
stdin=serial
stdout=serial
sys_bootargs= ubi.mtd=6 root=ubi0:rootfs rootfstype=ubifs rk_dma_heap_cma=66M
vendor=rockchip

Environment size: 1375/262140 bytes
=>

 

內容轉換:

回覆帖子
內容:
用戶名: 您目前是匿名發表。
驗證碼:
看不清?換一張
©2010-2025 Purasbar Ver3.0 [手機版] [桌面版]
除非另有聲明,本站採用知識共享署名-相同方式共享 3.0 Unported許可協議進行許可。