Compare commits

..

No commits in common. "f28d6326c9a42fec29787407a907f802ca22f77a" and "1947f6b779169a7cb7693f512f77d411611907bd" have entirely different histories.

2 changed files with 2 additions and 249 deletions

View file

@ -1,247 +0,0 @@
Terminal ready
[50]HELLO! BOOT0 is starting!
[53]BOOT0 commit : 749c1f9a-dirty
[57]set pll start
[59]periph0 has been enabled
[62]set pll end
[64][pmu]: bus read error
[66][pmu]: bus read error
[69]PMU: AXP2202
[77]vaild para:8 select dram para0
[81]board init ok
[83]rtc[2] value = 0xf
[85]DRAM BOOT DRIVE INFO: V0.651
[88]the chip id is 0x6c00
[91]chip id check OK
[93]DRAM_VCC set to 1100 mv
[96][DST] Dram DST Loop1
[232][DST] Lclk,0x00008888,Memtest Pass
[236][DST] Clk =672 MHz
[238][DST] R_2d
[247]read_calibration error
[256]read_calibration error
[266]read_calibration error
[276]read_calibration error
[286]read_calibration error
[295]read_calibration error
[305]read_calibration error
[315]read_calibration error
[324]read_calibration error
[334]read_calibration error
[337]retraining final error
[1513][DST] R_2d_hv_D2:0x1c-0x64,0x49(314mV),0
[1518][DST] R_2d_hv_D2:0x38~0x48,0x40
[1522][DST] R_2d tpr6 = 0x40808080
[1532][DST] R_1st
[1548][DST] DB0 R_1st:3,0~26,27,0x07
[1566][DST] DB1 R_1st:3,0~26,27,0x07
[1583][DST] DB2 R_1st:3,0~25,26,0x06
[1600][DST] DB3 R_1st:3,0~25,26,0x06
[1604][DST] R_1st Tpr12 = 0x06060707
[1607][DST] W_2st
[1660][DST] DB0 W_2st:0,26~49,24,0x25
[1719][DST] DB1 W_2st:0,28~54,27,0x29
[1778][DST] DB2 W_2st:0,28~54,27,0x29
[1838][DST] DB3 W_2st:0,25~50,26,0x25
[1842][DST] W_2st Tpr11 = 0x25292925
[1845][DST] R_2st
[1886][DST] DB0 R_2st:3,1~25,25,0x07
[1927][DST] DB1 R_2st:3,1~25,25,0x07
[1961][DST] DB2 R_2st:3,2~22,21,0x06
[1995][DST] DB3 R_2st:3,0~23,24,0x05
[1999][DST] R_2st Tpr12 = 0x05060707
[2163][DST] RV_C, VW:0x3a-0x46, DW:120ps
[2260][DST] Dram DST Success
[2263]DRAM CLK =672 MHZ
[2266]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[2278]Actual DRAM SIZE =1024 M
[2281]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 2006c61
[2294]DRAM simple test OK.
[2297]rtc standby flag is 0x0, super standby flag is 0x0
[2303]dram size =1024
[2306]card no is 0
[2307]sdcard 0 line count 4
[2310][mmc]: mmc driver ver 2021-10-12 13:56
[2315][mmc]: b mmc 0 bias 0
[2323][mmc]: Wrong media type 0x0
[2326][mmc]: ***Try SD card 0***
[2336][mmc]: HSSDR52/SDR25 4 bit
[2339][mmc]: 50000000 Hz
[2341][mmc]: 59638 MB
[2344][mmc]: ***SD/MMC 0 init OK!!!***
[2454]Loading boot-pkg Succeed(index=0).
[2458][mmc]: b mmc 0 bias 0
[2461]Entry_name = u-boot
[2471]Entry_name = monitor
[2475]Entry_name = dtbo
[2478]Entry_name = dtb
[2482]Jump to second Boot.
NOTICE: BL3-1: v1.0(debug):f30a720
NOTICE: BL3-1: Built : 16:02:57, 2024-06-26
NOTICE: BL3-1 commit: 8
NOTICE: cpuidle init version V2.0
ERROR: tsp_ep_info->pc is NULL
ERROR: Error initializing runtime service tspd_fast
NOTICE: BL3-1: Preparing for EL3 exit to normal world
NOTICE: BL3-1: Next image address = 0x4a000000
NOTICE: BL3-1: Next image spsr = 0x1d3
U-Boot 2018.05 (Feb 12 2025 - 10:50:44 +0800) Allwinner Technology
[02.570]CPU: Allwinner Family
[02.573]Model: sun50iw9
I2C: ready
[02.577]DRAM: 1 GiB
[02.581]Relocation Offset is: 35ebb000
[02.629]secure enable bit: 0
[02.632]pmu_axp152_probe pmic_bus_read fail
[02.635]pmu_axp1530_probe pmic_bus_read fail
[02.640]PMU: AXP2202
[02.643]BMU: AXP2202
[02.645][AXP2202] comm status : 0x0 = 0x18, 0x1 = 0xd0
[02.650][AXP2202] onoff status: 0x20 = 0x1, 0x21 = 0x1
AXP2202_IIN_LIM:38
AXP2202_IIN_LIM:38
[02.660][axp][err]:
b12_mode: 0
AXP2202_IIN_LIM:38
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[02.694]battery_check pass:radio:92, vol:4043
[02.699]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz
[02.707]drv_disp_init
[02.741]__clk_enable: clk is null.
[02.747]drv_disp_init finish
[02.750]gic: sec monitor mode
[02.782]flash init start
[02.784]workmode = 0,storage type = 1
[02.788]MMC: 0
[02.789][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[02.795][mmc]: get sdc_type fail and use default host:tm1.
[02.806][mmc]: Using default timing para
[02.810][mmc]: SUNXI SDMMC Controller Version:0x40200
[02.828][mmc]: card_caps:0x3000000a
[02.831][mmc]: host_caps:0x3000003f
[02.835]sunxi flash init ok
[02.838]Loading Environment from SUNXI_FLASH... OK
[02.855]out of usb burn from boot: not need burn key
[02.859]boot_gui_init:start
partno erro : can't find partition Reserve0
[02.874]Get Reserve0 partition number fail!
tcon_de_attach:de=0,tcon=0[02.885]boot_gui_init:finish
[02.889]bmp_name=bootlogo.bmp
partno erro : can't find partition bootloader
--allen--PE_pull[31:0] = 0x0
--allen--PE_pull[31:0] = 0x1000
--allen--PE_data[31:0] = 0x40
===lcd_panel_uboot_fj035fhd05_v1_init:L274,lcd_type = 0
921654 bytes read in 322 ms (2.7 MiB/s)
[03.234]get_boot_dram_update_flag 1
[03.237]begin to update boot0 atfer ota
[03.242]boot0 size:65536
size 65536
===allen==: download_normal_boot0 L288
storage type = 1
[03.259]sunxi_flash_mmc_download_spl: write back spl done
[03.268]sunxi_flash_mmc_download_spl: write main spl done
[03.273]update boot0 success
[03.276]Item0 (Map) magic is bad
[03.279]the secure storage item0 copy0 magic is bad
[03.284]Item0 (Map) magic is bad
[03.287]the secure storage item0 copy1 magic is bad
[03.291]Item0 (Map) magic is bad
[03.297]update dts
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
[03.374]update[03.378]LCD open finish
part info
start detect rtc domain...
rtc domain status: okay [0x90000000]
[03.396]update bootcmd
[03.398]No ethernet found.
Hit any key to stop autoboot: 0
Android's image name: sun50i_arm64
[04.322]Starting kernel ...
[04.325][mmc]: MMC Device 2 not found
[04.328][mmc]: mmc 2 not find, so not exit
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.170 (flower@flower-B85M-D2V) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #6 SMP PREEMPT Mon Dec 23 11:50:09 CST 2024
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] allen_boe_lcd=0, str=old
[ 0.081682] BOOTEVENT: 81.677332: ON
[ 0.591366] sunxi:i2c_sunxi@twi3[ERR]: get supply failed!
[ 0.591993] sunxi:i2c_sunxi@twi5[ERR]: get supply failed!
[ 0.600894] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[ 0.600973] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22
[ [ 0.977784] uart uart1: get regulator failed
[ 1.004404] [NAND][NE] Not found valid nand node on dts
[ 1.012243] sunxi-wlan soc@03000000:wlan: get gpio chip_en failed
[ 1.019149] sunxi-wlan soc@03000000:wlan: get gpio power_en failed
[ 1.116092] hci: request ohci0-controller gpio:272
[ 1.121803] hci: request ohci1-controller gpio:147
[ 1.341362] --[allen]-- sunxi_gpadc_probe: 321
[ 1.346562] ---[allen] sunxi_gpadc_probe: allen_gpadc_enable_flg=1
[ 1.363970] rtc-pcf8563 5-0051: low voltage detected, date/time is not reliable.
[ 1.375017] VE: get debugfs_mpp_root is NULL, please check mpp
[ 1.375017]
[ 1.383240] VE: sunxi ve debug register driver failed!
[ 1.383240]
[ 1.395249] axp2202_usb_power: axp2202-acin device is not configed, not use vbus-det
[ 1.395249]
[ 2.685726] mmc:failed to get gpios
[ 2.764876] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[ 2.771684] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[ 2.782118] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.788873] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.795620] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.802312] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
[ 2.815338] ERROR: pinctrl_get for HDMI2.0 DDC fail
[ 2.838609] cpu cpu1: opp_list_debug_create_link: Failed to create link
[ 2.846089] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[ 2.853657] cpu cpu2: opp_list_debug_create_link: Failed to create link
[ 2.861142] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
[ 2.868729] cpu cpu3: opp_list_debug_create_link: Failed to create link
[ 2.876248] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
[ 2.942395] rtc-pcf8563 5-0051: low voltage detected, date/time is not reliable.
[ 2.950691] rtc-pcf8563 5-0051: hctosys: unable to read the hardware clock
[ 2.959892] [sound 402][CODEC-HDMI sunxi_codec_dev_probe] register codec-hdmi success
[ 2.969655] [asoc_simple_probe, 432]
[ 2.975136] [asoc_simple_probe, 432]
[ 2.979798] [asoc_simple_probe, 432]
[ 2.983892] [asoc_simple_probe, 432]
[ 2.989213] [asoc_simple_probe, 432]
[/init]: getty is ttyS0
[/init]: RootDevice is "/dev/mmcblk0p5" , GPT_SUPPORT=1
[/init]: Try to load EMMC ...
e2fsck 1.42.12 (29-Aug-2014)
/dev/mmcblk0p5 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
[ 3.574812] cgroup: cgroup2: unknown option "nsdelegate,memory_recursiveprot"
[ 3.583324] cgroup: cgroup2: unknown option "nsdelegate"
[ 4.456820] [asoc_simple_probe, 432]
[FAILED] Failed to start Set Up Additional Binary Formats.
[ 5.245291] proc: unrecognized mount option "hidepid=invisible" or missing value
[ 5.640199] rtc-pcf8563 5-0051: low voltage detected, date/time is not reliable.
[ 7.295453] proc: unrecognized mount option "hidepid=invisible" or missing value
[ 7.694853] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[ 7.701695] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
[ 8.479656] [asoc_simple_probe, 432]
[ 8.517414] [asoc_simple_probe, 432]
[ 10.709810] rtc-pcf8563 5-0051: low voltage detected, date/time is not reliable.
Ubuntu 22.04 LTS ANBERNIC ttyS0
ANBERNIC login: [ 13.535341] Bluetooth: Non-link packet received in non-active state
[FAILED] Failed unmounting /mnt/vendor.
[ 216.433477] [VIN_WARN]video1 device have been closed!
[ 216.439207] [VIN_WARN]video0 device have been closed!
[ 217.344201] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
[ 217.352774] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
[ 217.361563] reboot: Power down
PANIC in E

View file

@ -15,10 +15,10 @@ make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sun50i_h616 DEBUG=1
cd ${UBOOT_DIR}
# Prepare U-Boot Build
make clean
CROSS_COMPILE=aarch64-linux-gnu- BL31=${TPL_DIR}/build/sun50i_h616/debug/bl31.bin SCP=/dev/null make anbernic_rg35xx_h700_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- anbernic_rg35xxh_defconfig
# Build U-Boot
CROSS_COMPILE=aarch64-linux-gnu- BL31=${TPL_DIR}/build/sun50i_h616/debug/bl31.bin SCP=/dev/null make
make CROSS_COMPILE=aarch64-linux-gnu- BL31=${TPL_DIR}/build/sun50i_h616/debug/bl31.bin SCP=/dev/null
# Create Boot Script boot.cmd
echo "setenv bootargs console=ttyS0,115200