<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[uboot 无法启动，pack 打包， 如何自定义自己板卡，相关文件配置问题]]></title><description><![CDATA[<p dir="auto">按照提示需改，发现uboot 无法启动，请问如何配置： uboot打印如下 ：</p>
<p dir="auto">U-Boot 2018.07 (Jun 02 2024 - 21:21:38 +0800) Allwinner Technology</p>
<p dir="auto">[00.503]CPU:   Allwinner Family<br />
[00.506]Model: sun8iw21<br />
[00.508]DRAM:  64 MiB<br />
[00.512]Relocation Offset is: 00ece000<br />
[00.545]secure enable bit: 0<br />
E/TC:0   fdt_getprop_u32:343 prop trace_level not found<br />
[00.561]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz<br />
[00.567]gic: sec monitor mode<br />
sunxi flash map init<br />
SPI ALL:   ready<br />
[00.574]line:724 init_clocks<br />
[00.577]flash init start<br />
[00.579]workmode = 0,storage type = 0<br />
[00.587]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:1a</p>
<p dir="auto">device nand0 &lt;nand&gt;, # parts = 4<br />
#: name                size            offset          mask_flags<br />
0: boot0               0x00100000      0x00000000      1<br />
1: uboot               0x00300000      0x00100000      1<br />
2: secure_storage      0x00100000      0x00400000      1<br />
3: sys                 0x07b00000      0x00500000      0</p>
<p dir="auto">active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000</p>
<p dir="auto">defaults:<br />
mtdids  : nand0=nand<br />
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)<br />
[00.704]ubi0: attaching mtd4<br />
[00.933]ubi0: scanning is finished<br />
[00.943]ubi0: attached mtd4 (name "sys", size 123 MiB)<br />
[00.948]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes<br />
[00.954]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048<br />
[00.960]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096<br />
[00.966]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0<br />
[00.972]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128<br />
[00.978]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0<br />
[00.986]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20<br />
[00.994]sunxi flash init ok<br />
[00.997]drv_disp_init<br />
[01.004]handle_num : 4<br />
partno erro : can't find partition bootloader<br />
partno erro : can't find partition boot-resource<br />
Get bootloader and boot-resource partition number fail!<br />
request pwm success, pwm6:pwm6:0x2000c00.<br />
[01.356]drv_disp_init finish<br />
[01.521]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment</p>
<p dir="auto">*** Warning - no device, using default environment</p>
<p dir="auto">Failed (-5)<br />
[01.551]boot_gui_init:start<br />
[01.554]set disp.dev2_output_type fail. using defval=0<br />
[01.559][T050K589 LCD INFO] LINE:0142--&gt;lcd_open_flow:<br />
[01.565][T050K589 LCD INFO] LINE:0163--&gt;lcd_power_on:<br />
[01.583]set disp.fb0_rot_used fail. using defval=0<br />
[01.587]set disp.fb0_rot_degree fail. using defval=0<br />
[01.593]boot_gui_init:finish<br />
[01.598][T050K589 LCD INFO] LINE:0441--&gt;lcd_panel_init:<br />
[01.615][T050K589 LCD INFO] LINE:0456--&gt;lcd_panel_init:initialization:jd9365<br />
partno erro : can't find partition bootloader<br />
partno erro : can't find partition boot-resource<br />
[01.732]Get bootloader and boot-resource partition number fail!<br />
[01.761]update bootcmd<br />
[01.786]change working_fdt 0x42a8de70 to 0x42a6de70<br />
[01.798]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND<br />
[01.807][T050K589 LCD INFO] LINE:0199--&gt;lcd_bl_open:<br />
[01.819]LCD open finish<br />
partno erro : can't find partition bootloader<br />
partno erro : can't find partition boot-resource<br />
Get bootloader and boot-resource partition number fail!<br />
partno erro : can't find partition bootloader<br />
partno erro : can't find partition boot-resource<br />
Get bootloader and boot-resource partition number fail!<br />
partno erro : can't find partition bootloader<br />
partno erro : can't find partition boot-resource<br />
Get bootloader and boot-resource partition number fail!<br />
[02.004]update dts<br />
Hit any key to stop autoboot:  0</p>
<h2>Error: "distro_bootcmd" not defined</h2>
<p dir="auto">=&gt; print<br />
aw-ubi-spinand.ubootblks=24<br />
baudrate=115200<br />
bootcmd=run distro_bootcmd<br />
bootdelay=2<br />
fdtcontroladdr=42a8de70<br />
filesize=10000<br />
force_normal_boot=1<br />
mtdids=nand0=nand<br />
mtdparts=mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)<br />
partition=nand0,0<br />
partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6:<br />
rotpk_status=0<br />
ubi_attach_mtdnum=3</p>
<p dir="auto">Environment size: 450/131068 bytes<br />
=&gt;</p>
]]></description><link>https://bbs.aw-ol.com/topic/5461/uboot-无法启动-pack-打包-如何自定义自己板卡-相关文件配置问题</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 15:24:15 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/5461.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Jun 2024 23:00:46 GMT</pubDate><ttl>60</ttl></channel></rss>