b13 Posted August 23, 2022 Posted August 23, 2022 (edited) Good time of the day! There is such a board, a TV set-top box from Aliexpress. Processor: Allwinner H3 Memory: JWA60 (I understand emcp) r69-EMCP The board has inscriptions R69-EMCP_v2.0 and EMCP_LPDDR3_EMCP. Installed Linux kernel localhost 4.4.55 #1 SMP PREEMPT Thu Nov 11 15:35:09 CST 2021 armv7l The question is, when installing any Armbian image on mSD, I get the following result of booting from mSD: U-Boot SPL DRAM: 0MiB ### ERROR ### Please RESET the board ### I understand that he does not see RAM, tell me how to set up RAM. Poke where the assembly process for LPDDR3 is described in detail. If you need more information, I'll be happy to provide. Tried loading H3Droid from SD and via FEL. Everything is the same in UART "U-Boot SPL DRAM: 0MiB ### ERROR ### Please RESET the board ###" Edited August 23, 2022 by b13 edit 0 Quote
SteeMan Posted August 23, 2022 Posted August 23, 2022 @b13 Please read the following TV Box FAQ post to understand the status of TV Boxes on armbian. https://forum.armbian.com/topic/16976-status-of-armbian-on-tv-boxes-please-read-first Then feel free to search the archives for what others have experienced. 0 Quote
jernej Posted August 23, 2022 Posted August 23, 2022 You should tell which image you tried to use and in order to be able to do anything, boot log of original FW (probably Android) and extracted sys_config.fex or first megabyte of bootloader, so it can be extracted from there. 0 Quote
b13 Posted August 24, 2022 Author Posted August 24, 2022 @SteeMan as stated in the article there are reasons As a TV box, I don't need this box. I'm trying to find a solution, so far it doesn't work. Everywhere they write write the image to sd and it will boot, but it doesn’t boot for me ((( 0 Quote
b13 Posted August 24, 2022 Author Posted August 24, 2022 (edited) @jernej Я только изучаю Linux, как извлечь sys_confix из работающего префикса или первого мегабайта загрузчика? The log of the original firmware, is this what the UART gives me when I boot? I tried images compiled for allwinner h3 Edited August 24, 2022 by b13 0 Quote
jernej Posted August 24, 2022 Posted August 24, 2022 Please write in english, I don't speak russian. 9 hours ago, b13 said: The log of the original firmware, is this what the UART gives me when I boot? Yes. Most of them contains partial DRAM configuration. Not enough to configure DRAM properly, but enough for quick check. Just copy first 1 MiB from eMMC, you can use dd command for that. There is plenty of guides on net. You still didn't tell which Armbian image you tried to boot. 0 Quote
b13 Posted August 24, 2022 Author Posted August 24, 2022 (edited) 1 час назад, jernej сказал: Please write in english, I don't speak russian. Sorry I didn't see what I wrote. Yes, I'll try to copy 1 megabyte. Here is the download log: Скрытый текст [1022]HELLO! BOOT0 is starting! [1025]boot0 commit : 8 [1349]set pll start [1352]set pll end [1354]rtc[0] value = 0x00000000 [1357]rtc[1] value = 0x00000000 [1360]rtc[2] value = 0x00000000 [1363]rtc[3] value = 0x00000000 [1365]rtc[4] value = 0x00000000 [1368]rtc[5] value = 0x00000000 DRAM DRIVE INFO: V2.0 the chip id is 0x00000081 the chip id is 0x00000081 the chip id is 0x00000081 the chip id is 0x00000081 the chip id is 0x00000081 READ DQS LCDL = 00393839 DRAM Type = 7 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) DRAM CLK = 336 MHz---DRAM zq value: 003939f9 DRAM SIZE =1024 M dram size =1024 [1417]rtc standby flag is 0x00000000, super standby flag is 0x00000000 [1424]card no is 2 [1426]sdcard 2 line count 8 [1428][mmc]: mmc driver ver 2017-06-10 16:08:39 [1439][mmc]: ***Try SD card 2*** [1442][mmc]: mmc 2 cmd 8 err 00000100 [1446][mmc]: mmc 2 cmd 8 err 00000100 [1449][mmc]: mmc 2 send if cond failed [1453][mmc]: mmc 2 cmd 55 err 00000100 [1453][mmc]: mmc 2 cmd 55 err 00000100 [1456][mmc]: mmc 2 cmd 55 err 00000100 [1460][mmc]: mmc 2 send app cmd failed [1463][mmc]: ***Try MMC card 2*** [1612][mmc]: mmc re-update_phase [1618][mmc]: mmc re-update_phase [1621][mmc]: 8bit ddr!!! [1623][mmc]: mmc re-update_phase [1626][mmc]: MMC ver 4.5 [1628][mmc]: SD/MMC Card: 8bit, capacity: 7472MB [1633][mmc]: vendor: Man 00fe014e Snr 1238e6fe [1637][mmc]: product: P1J95 [1639][mmc]: revision: 4.11 [1642][mmc]: ***SD/MMC 2 init OK!!!*** [1735]Loading boot-pkg Succeed(index=0). [1739]Entry_name = u-boot [1757]Entry_name = parameter [1760]Entry_name = soc-cfg [1764]Entry_name = dtb [1768]Entry_name = board-cfg [1771]Entry_name = board-fex [1774]Entry_name = cpus-code [1778]Entry_name = scp [1785]Entry_name = logo [1788]Ready to disable icache. [1791]set_mmc_para, sdly 50M 0 [1793]set_mmc_para, sdly 25M 0 [1796]Jump to secend Boot. U-Boot 2014.07 (Jun 24 2021 - 17:46:07) Allwinner Technology uboot commit : 8 secure enable bit: 0 normal mode not found [ burn_secure_mode ] in sysconfig!! i2c_init: by cpux [I2C-DEBUG]:i2c_set_clock() 354 i2c_init ok [1.823]pmbus: ready u0:3 axp: get node[pmu1_para] error axp_probe error [1.830]PMU: cpux 1008 Mhz, AXI=336 Mhz PLL6=600 Mhz, AHB1=200 Mhz, APB1=100Mhz key value = -1, fel_key = [2,7] DRAM: 1 GiB [1.843]fdt addr: 0x76cdb2e8 [1.846]gd->fdt_size: 0x125c0 Relocation Offset is: 35dd3000 gic: normal mode [box standby] read rtc = 0x0 [box standby] start_type = 1 [box_start_os] mag be start_type no use workmode = 0,storage type = 2 [1.964]MMC: 2 [1.965][mmc]: mmc driver ver 2017-09-14 11:11:00 [1.973][mmc]: use default timing para! SUNXI SD/MMC: 2 [1.983][mmc]: media type 0x0 [1.985][mmc]: Wrong media type 0x0 [1.988][mmc]: ************Try SD card 2************ [mmc]: mmc 2 cmd 8 timeout, err 100 [mmc]: smc 2 err, cmd 8, RTO [mmc]: mmc 2 close bus gating and reset [mmc]: mmc 2 mmc cmd 8 err 0x00000100 [2.006][mmc]: mmc send if cond failed [mmc]: mmc 2 cmd 55 timeout, err 100 [mmc]: smc 2 err, cmd 55, RTO [mmc]: mmc 2 close bus gating and reset [mmc]: mmc 2 mmc cmd 55 err 0x00000100 [2.024][mmc]: send app cmd failed [2.027][mmc]: ************Try MMC card 2************ [2.146][mmc]: mmc don't support HS400 [2.152][mmc]: host caps: 0x6f [2.154][mmc]: MID 0000fe PSN 38e6feb8 [2.158][mmc]: PNM P1J95K -- 0x50-31-4a-39-35 [2.162][mmc]: PRV 1.2 [2.164][mmc]: MDT m-7 y-2016 [2.166][mmc]: MMC v4.5 [2.168][mmc]: user capacity : 7472 MB [2.172][mmc]: SD/MMC 2 init OK!!! [2.178][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000 [2.183][mmc]: Bus width 8 [2.186][mmc]: End mmc_init_boot [2.188]sunxi flash init ok used mbr [0], count = 14 [2.194]start drv_disp_init init_clocks: finish init_clocks. unable to get ldo_count from [regulator0] unable to find regulator vcc33-hdmi from [pmu1_regu] or [pmu2_regu] tv_init: tv_probe:000 no report hpd work,you need support the switch class! [2.336]screen 0 don't support TV! tv_init: fetch tv1 err. drv_disp_init finish hdmi hdcp not enable! get format[404] for type[4] get format[20b] for type[2] hdmi hpd out, force open? save_int_to_kernel disp.init_disp(0x20b0404) code:<no error> get hdmi config from bootparam success. hdmi config: format-0 bits-0 cs-0 eotf-0 size=0x384000, ram_size=0x40000000, FRAME_BUFFER_SIZE=0x1000000 [2.557]end [box recovery] trigger = 0 [2.580]try to burn key read item0 copy0 the secure storage item0 copy0 is good no item name key_burned_flag in the map sunxi storage read fail sunxi secure storage has no flag [2.596]usb burn from boot delay time 0 [2.680]usb prepare ok [3.482]overtime [3.513]do_burn_from_boot usb : no usb exist --------fastboot partitions-------- -total partitions:14- -name- -start- -size- bootloader : 1000000 1000000 env : 2000000 1000000 boot : 3000000 2000000 system : 5000000 60000000 verity_block: 65000000 1000000 misc : 66000000 1000000 recovery : 67000000 2000000 private : 69000000 1000000 alog : 6a000000 4000000 Reserve0 : 6e000000 1000000 Reserve1 : 6f000000 2000000 Reserve2 : 71000000 1000000 cache : 72000000 30000000 UDISK : a2000000 0 ----------------------------------- not suppert programmer base bootcmd=run setargs_nand boot_normal bootcmd set setargs_mmc misc partition found [3.594]to be run cmd=run setargs_mmc boot_normal read mac from efuse failed no item name cma_list in the map sunxi storage read fail name in map mac the secure storage item1 copy0 is good update mac = C4:2A:FE:67:77:89 no item name wifi_mac in the map sunxi storage read fail no item name bt_mac in the map sunxi storage read fail name in map specialstr the secure storage item2 copy0 is good update specialstr = ADV08032111390 no item name serialno in the map sunxi storage read fail check user data form private [3.644]update dtb dram start [3.648]update dtb dram end serial is: ADV08032111390 sunxi_bmp_logo_display reading advert.crc ** Unable to read file advert.crc ** sunxi bmp info error : unable to open logo file sunxi_flash bmp_name=bootlogo.bmp reading bootlogo.bmp 3686456 bytes read in 47 ms (74.8 MiB/s) save_string_to_kernel disp.boot_fb0(7f000000,500,2d0,20,1400,0,0,500,2d0). ret-code:<no error> [3.733]show bmp on ok [3.735]inter uboot shell Hit any key to stop autoboot: 0 [3.740]read partition: boot or recovery [3.971]sunxi flash read :offset 3000000, 19441161 bytes OK Kernel load addr 0x40008000 size 14844 KiB Kernel command line: selinux=1 androidboot.selinux=permissive, use it to update bootargs RAM disk load addr 0x42000000 size 3118 KiB the chip id is 0x81 [4.002]ready to boot [4.003]prepare for kernel mmc exit start mmc 2 exit ok [4.177] Starting kernel ... [ 0.000000] clk cpuapb not found in of_sunxi_periph_clk_setup [ 0.788617] failed to get standby led pin assign [ 0.812138] sunxi_bootup_extend_probe: bootup extend state 1 [ 0.812148] bootup extend probe ok [ 0.859923] sunxi-wlan wlan: get gpio wlan_clk_gpio failed [ 1.200570] VE: get debugfs_mpp_root is NULL, please check mpp [ 1.200570] [ 1.208731] VE: sunxi ve debug register driver failed! [ 1.208731] [ 1.220248] cpu cpu0: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6) [ 1.298446] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !! [ 1.305220] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !! [ 1.315548] sunxi-mmc sdc2: smc 0 p2 err, cmd 8, RTO !! [ 1.322216] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.328849] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.335479] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.342153] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !! [ 1.348798] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.355529] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.362262] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.368989] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !! [ 1.378862] PT71600 Driver - version 2.0.0-Half-IMA! [ 1.391088] failed get gpio-spdif gpio from dts,spdif_gpio:-2 [ 2.256521] init: waitpid failed: No child processes [ 2.271614] init: /init.sun8iw7p1.rc: 218: invalid keyword '2' [ 2.279879] init: ignored duplicate definition of service 'preinstall'init: (Parsing init.common.rc took 0.01s.) [ 2.441108] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 2.447887] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !! [ 2.458416] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !! [ 2.465097] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.471773] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.478448] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.485122] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !! [ 2.491807] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.498581] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.505356] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.512129] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !! [ 2.519155] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !! [ 2.763450] init: /dev/hw_random not found [ 2.818412] init: /dev/hw_random not found [ 5.383329] sunxi_ir_startup: get cir supply_vol failed [ 5.389068] node ir_addr_code16 get failed! [ 5.396050] sunxi ir_protocol_judge [ 5.407490] init: SELinux: Could not set context for /sys/kernel/debug/tracing: Operation not supported on transport endpoint [ 5.471275] init: /recovery not specified in fstab [ 5.479741] init: do_start: Service debuggerd64 not found [ 6.018358] init: couldn't write 1346 to /sys/fs/cgroup/stune/foreground/tasks: No such file or directory dolphin_fvd_p1:/ $ [ 6.555119] init: cannot find '/system/bin/update_verifier' (No such file or directory), disabling 'exec 4 (/system/bin/update_verifier)' [ 6.599606] init: cannot find '/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery' [ 25.670747] init: sys_prop: illegal property name. Got: "net.(null)-pppoe.status" [ 25.682710] init: sys_prop: illegal property name. Got: "net.(null)-pppoe.status" [ 26.005363] ======== XRADIO WIFI OPEN ======== [ 26.011310] [XRADIO] Driver Label:XR_V02.15.41 [ 26.016651] [XRADIO] Allocated hw_priv @ c9375360 [ 26.187659] [XRADIO] Detect SDIO card 1 [ 26.256638] [SBUS] XRadio Device:sdio clk=50000000 [ 26.275578] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 26.415975] [XRADIO] Bootloader complete [ 26.534782] [XRADIO] Firmware completed. [ 26.541269] [WSM] Firmware Label:XR_C01.08.52.28 Sep 4 2017 11:38:25 [ 26.549901] [XRADIO] Firmware Startup Done. [ 27.291284] [STA] !!!xradio_vif_setup: id=2, type=2, p2p=0 [ 27.574097] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0 [ 32.600837] [STA_WRN] Freq 2412 (wsm ch: 1) prev: 3. [ 32.663878] [STA_WRN] Freq 2422 (wsm ch: 3) prev: 1. [ 32.671919] [STA_WRN] Freq 2412 (wsm ch: 1) prev: 3. [ 32.690331] [AP_WRN] [STA] ASSOC HTCAP 11N 58 [ 32.703838] [TXRX_WRN] [RX] IF=0, No key found. [ 32.975697] [TXRX_WRN] drop=1440, fctl=0x00d0. [ 34.091515] audit: rate limit exceeded Цитата You still didn't tell which Armbian image you tried to boot. Armbian_22.02.2_Orangepipc_jammy_edge_5.16.12.img.xz.txt2022-03-06 18:51 Armbian_5.59_Orangepipc_Debian_stretch_next_4.14.65.7z I also tried Orange Pi Zero Edited August 24, 2022 by b13 edit 0 Quote
jernej Posted August 24, 2022 Posted August 24, 2022 Uh, your box uses RAM with extremely low frequency. All images you tested have about 2 times higher frequency set. This alone is very likely the reason for non working RAM. Additionally, ZQ value is different, but usually that's not a big problem. With these two changes, you can already customize U-Boot config, build it and replace it on one of the images. 0 Quote
b13 Posted August 26, 2022 Author Posted August 26, 2022 Цитата With these two changes, you can already customize U-Boot config, build it and replace it on one of the images. It's me again. Tell me what am I doing wrong? I clone UBOOT, go to: -configs -open orangepi_zero_plus2_h3_defconfig -edit CONFIG_DRAM_CLK = I put 336 and edit CONFIG_DRAM_ZQ = what value should I put here? i put 003939f9 -then make CROSS_COMPILE=arm-linux-gnueabihf- orangepi_zero_plus2_h3_defconfig -make CROSS_COMPILE=arm-linux-gnueabihf- -write the next action to the SD card, insert it into the board and run it? Am I doing everything right or not? When I did all this, the result did not change ( The question is which version of UBOOT should I use? Is there a difference? 0 Quote
jernej Posted August 26, 2022 Posted August 26, 2022 ZQ value should be in decimal, so 3750393. Other than that, it should be ok. Just be sure to write U-Boot to right location. How do you write U-Boot to SD card? 0 Quote
b13 Posted August 26, 2022 Author Posted August 26, 2022 4 минуты назад, jernej сказал: ZQ value should be in decimal, so 3750393. Other than that, it should be ok. Are the rest of the steps correct? I'm going to try now 5 минут назад, jernej сказал: Just be sure to write U-Boot to right location. What does right place mean? 7 минут назад, jernej сказал: How do you write U-Boot to SD card? Can I try with sunxi-fel? 0 Quote
jernej Posted August 26, 2022 Posted August 26, 2022 Bootloader has to be written to SD card at offset of 8 KiB. dd command for this would be: sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1k seek=8 conv=fsync NOTE: Replace /dev/sdb with proper path to your SD card. 0 Quote
b13 Posted August 26, 2022 Author Posted August 26, 2022 53 минуты назад, jernej сказал: NOTE: Replace /dev/sdb with proper path to your SD card. same DRAM: 0. I have a 2015 Orangepi image, it starts to boot but freezes and there is no DRAM:0. Can I extract the settings from it somehow and change it? 0 Quote
jernej Posted August 27, 2022 Posted August 27, 2022 Well, if freezes it's doubtful that it will work with newer image. Your box is different than OrangePi board, so most likely reason why it freezes is that electronics is not compatible and you would need device tree file (HW description) tailored to your box. This is not an easy task for a beginner. You can copy 1 MiB from that image, starting at 8 KiB offset. However, U-Boot has many board related configuration hardcoded, so I can't promise it will work. 0 Quote
b13 Posted August 27, 2022 Author Posted August 27, 2022 8 часов назад, jernej сказал: Well, if freezes hangs on DRAM, in the image from 2015 DRAM costs 672. 0 Quote
b13 Posted September 29, 2022 Author Posted September 29, 2022 (edited) People need help. I was able to assemble a u-boot that sees DRAM, I had to set the type to LPDDR3. But my problems did not end there, the download starts, but freezes. I present the log, tell me where to look for the download problem? This happens on several built images (Orangepi_pc, Beelink) hangs in the same place. Скрытый текст U-Boot 2022.07-armbian (Sep 27 2022 - 22:23:28 +0300) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Zero Plus 2 DRAM: 1 GiB Core: 65 devices, 18 uclasses, devicetree: separate WDT: Not starting watchdog@1c20ca0 MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from FAT... Unable to use mmc 0:1... In: serial Out: serial Err: serial Net: No ethernet found. 230454 bytes read in 13 ms (16.9 MiB/s) starting USB... Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1c000: USB EHCI 1.00 Bus usb@1c1d000: USB EHCI 1.00 scanning bus usb@1c1b000 for devices... 1 USB Device(s) found scanning bus usb@1c1c000 for devices... 1 USB Device(s) found scanning bus usb@1c1d000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 4023 bytes read in 3 ms (1.3 MiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 180 bytes read in 3 ms (58.6 KiB/s) 17597211 bytes read in 732 ms (22.9 MiB/s) 8058296 bytes read in 337 ms (22.8 MiB/s) Found mainline kernel configuration 31415 bytes read in 10 ms (3 MiB/s) 504 bytes read in 9 ms (54.7 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo 504 bytes read in 10 ms (48.8 KiB/s) Applying kernel provided DT overlay sun8i-h3-usbhost3.dtbo 4185 bytes read in 10 ms (408.2 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 45000000 Kernel image @ 0x42000000 [ 0x000000 - 0x7af5b8 ] ## Loading init Ramdisk from Legacy Image at 43400000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 17597147 Bytes = 16.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 48f37000, end 49fff2db ... OK Loading Device Tree to 48ec6000, end 48f36fff ... OK Starting kernel ... U-Boot SPL 2022.07-armbian (Sep 27 2022 - 23:16:22 +0300) DRAM: 1024 MiB Trying to boot from MMC1 U-Boot 2022.07-armbian (Sep 27 2022 - 23:16:22 +0300) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi PC DRAM: 1 GiB Core: 62 devices, 19 uclasses, devicetree: separate WDT: Not starting watchdog@1c20ca0 MMC: mmc@1c0f000: 0 Loading Environment from FAT... Unable to use mmc 0:1... In: serial Out: serial Err: serial Net: phy interface1 eth0: ethernet@1c30000 230454 bytes read in 13 ms (16.9 MiB/s) starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1c000: USB EHCI 1.00 Bus usb@1c1d000: USB EHCI 1.00 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1b000 for devices... 1 USB Device(s) found scanning bus usb@1c1c000 for devices... 1 USB Device(s) found scanning bus usb@1c1d000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 4021 bytes read in 4 ms (981.4 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 155 bytes read in 3 ms (49.8 KiB/s) 18120550 bytes read in 753 ms (22.9 MiB/s) 8387272 bytes read in 352 ms (22.7 MiB/s) Found mainline kernel configuration 32077 bytes read in 7 ms (4.4 MiB/s) 4185 bytes read in 9 ms (454.1 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 45000000 Kernel image @ 0x42000000 [ 0x000000 - 0x7ffac8 ] ## Loading init Ramdisk from Legacy Image at 43400000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 18120486 Bytes = 17.3 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 EHCI failed to shut down host controller. Loading Ramdisk to 48eb8000, end 49ffff26 ... OK Loading Device Tree to 48e47000, end 48eb7fff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.15.69-sunxi (root@b13-VirtualBox777) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP Tue Sep 27 23:25:22 MSK 2022 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Xunlong Orange Pi PC [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 128 MiB at 0x78000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000040000000-0x000000006fffffff] [ 0.000000] HighMem [mem 0x0000000070000000-0x000000007fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 17 pages/cpu s38540 r8192 d22900 u69632 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416 [ 0.000000] Kernel command line: root=UUID=b1382b43-ffd1-446d-9965-949e299fedca rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=7 ubootpart=ed9be2f9-01 ubootsource=mmc usb-storage.quirks= sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart=ed9be2f9-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 873204K/1048576K available (9216K kernel code, 1508K rwdata, 3392K rodata, 1024K init, 328K bss, 44300K reserved, 131072K cma-reserved, 131072K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 43951 entries in 129 pages [ 0.000000] ftrace: allocated 129 pages with 2 groups [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000020] Switching to timer-based delay loop, resolution 41ns [ 0.000395] Console: colour dummy device 80x30 [ 0.000482] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000504] pid_max: default: 32768 minimum: 301 [ 0.000992] LSM: Security Framework initializing [ 0.001086] Yama: becoming mindful. [ 0.001335] AppArmor: AppArmor initialized [ 0.001603] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.001626] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.003239] CPU: Testing write buffer coherency: ok [ 0.003851] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.004905] Setting up static identity map for 0x40100000 - 0x40100054 [ 0.005069] rcu: Hierarchical SRCU implementation. [ 0.006777] smp: Bringing up secondary CPUs ... [ 0.017942] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.029264] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.040413] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.040521] smp: Brought up 1 node, 4 CPUs [ 0.040553] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.040565] CPU: All CPU(s) started in HYP mode. [ 0.040571] CPU: Virtualization extensions available. [ 0.041555] allocated 1048576 bytes of page_ext [ 0.042270] devtmpfs: initialized [ 0.051068] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.051344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.051408] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.058475] pinctrl core: initialized pinctrl subsystem [ 0.060403] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.065584] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.066401] audit: initializing netlink subsys (disabled) [ 0.066814] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1 [ 0.067413] thermal_sys: Registered thermal governor 'fair_share' [ 0.067424] thermal_sys: Registered thermal governor 'bang_bang' [ 0.067435] thermal_sys: Registered thermal governor 'step_wise' [ 0.067968] cpuidle: using governor ladder [ 0.068010] cpuidle: using governor menu [ 0.068682] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.068701] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.074860] platform 1c0c000.lcd-controller: Fixing up cyclic dependency with 1100000.mixer [ 0.080372] platform 1ee0000.hdmi: Fixing up cyclic dependency with 1c0c000.lcd-controller [ 0.085130] platform connector: Fixing up cyclic dependency with 1ee0000.hdmi [ 0.097824] cryptd: max_cpu_qlen set to 1000 [ 0.168817] raid6: neonx8 gen() 777 MB/s [ 0.236935] raid6: neonx8 xor() 577 MB/s [ 0.305071] raid6: neonx4 gen() 827 MB/s [ 0.373168] raid6: neonx4 xor() 624 MB/s [ 0.441288] raid6: neonx2 gen() 914 MB/s [ 0.509382] raid6: neonx2 xor() 652 MB/s [ 0.577516] raid6: neonx1 gen() 815 MB/s [ 0.645608] raid6: neonx1 xor() 564 MB/s [ 0.713772] raid6: int32x8 gen() 303 MB/s [ 0.781829] raid6: int32x8 xor() 179 MB/s [ 0.850011] raid6: int32x4 gen() 354 MB/s [ 0.918109] raid6: int32x4 xor() 205 MB/s [ 0.986236] raid6: int32x2 gen() 399 MB/s [ 1.054352] raid6: int32x2 xor() 213 MB/s [ 1.122475] raid6: int32x1 gen() 402 MB/s [ 1.190551] raid6: int32x1 xor() 192 MB/s [ 1.190561] raid6: using algorithm neonx2 gen() 914 MB/s [ 1.190571] raid6: .... xor() 652 MB/s, rmw enabled [ 1.190580] raid6: using neon recovery algorithm [ 1.192263] iommu: Default domain type: Translated [ 1.192283] iommu: DMA domain TLB invalidation policy: strict mode [ 1.192718] SCSI subsystem initialized [ 1.193307] usbcore: registered new interface driver usbfs [ 1.193358] usbcore: registered new interface driver hub [ 1.193403] usbcore: registered new device driver usb [ 1.193551] mc: Linux media interface: v0.10 [ 1.193590] videodev: Linux video capture interface: v2.00 [ 1.193729] pps_core: LinuxPPS API ver. 1 registered [ 1.193739] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.193762] PTP clock support registered [ 1.194365] Advanced Linux Sound Architecture Driver Initialized. [ 1.195405] NetLabel: Initializing [ 1.195420] NetLabel: domain hash size = 128 [ 1.195428] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 1.195527] NetLabel: unlabeled traffic allowed by default [ 1.196403] clocksource: Switched to clocksource arch_sys_counter [ 1.240688] VFS: Disk quotas dquot_6.6.0 [ 1.240859] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.241600] AppArmor: AppArmor Filesystem Enabled [ 1.349150] NET: Registered PF_INET protocol family [ 1.349468] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.350842] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.350998] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 1.351038] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 1.351143] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.351264] TCP: Hash tables configured (established 8192 bind 8192) [ 1.351438] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.351515] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.351889] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 1.352548] Trying to unpack rootfs image as initramfs... [ 1.353845] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 1.355701] Initialise system trusted keyrings [ 1.355823] Key type blacklist registered [ 1.356150] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 1.362870] zbud: loaded [ 1.365115] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.366611] fuse: init (API version 7.34) [ 1.372736] integrity: Platform Keyring initialized [ 1.479149] xor: measuring software checksum speed [ 1.486853] arm4regs : 1301 MB/sec [ 1.497885] 8regs : 895 MB/sec [ 1.509522] 32regs : 847 MB/sec [ 1.517067] neon : 1316 MB/sec [ 1.517091] xor: using function: neon (1316 MB/sec) [ 1.517116] Key type asymmetric registered [ 1.517128] Asymmetric key parser 'x509' registered [ 1.517460] bounce: pool size: 64 pages [ 1.517737] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 1.518113] io scheduler mq-deadline registered [ 1.518133] io scheduler kyber registered [ 1.518373] io scheduler bfq registered [ 1.527453] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 1.529915] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 1.538403] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.541464] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator [ 1.542229] printk: console [ttyS0] disabled [ 1.542344] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 50, base_baud = 1500000) is a 16550A [ 2.514598] printk: console [ttyS0] enabled [ 2.532538] brd: module loaded [ 2.538964] Freeing initrd memory: 17696K [ 2.541819] loop: module loaded [ 2.549124] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found [ 2.555519] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found [ 2.561568] dwmac-sun8i 1c30000.ethernet: supply phy not found, using dummy regulator [ 2.569604] dwmac-sun8i 1c30000.ethernet: supply phy-io not found, using dummy regulator [ 2.577921] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 2.583715] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000) [ 2.593560] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 2.600812] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 2.608042] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 2.613027] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 2.619821] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 2.625486] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 2.632945] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 2.639557] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 2.645959] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 2.666513] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.673136] ehci-platform: EHCI generic platform driver [ 2.678692] ehci-platform 1c1a000.usb: EHCI Host Controller [ 2.684309] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 2.692804] ehci-platform 1c1a000.usb: irq 35, io mem 0x01c1a000 [ 2.712392] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 2.718898] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15 [ 2.727189] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.734421] usb usb1: Product: EHCI Host Controller [ 2.739307] usb usb1: Manufacturer: Linux 5.15.69-sunxi ehci_hcd [ 2.745319] usb usb1: SerialNumber: 1c1a000.usb [ 2.750584] hub 1-0:1.0: USB hub found [ 2.754410] hub 1-0:1.0: 1 port detected [ 2.759050] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.765277] ohci-platform: OHCI generic platform driver [ 2.770789] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 2.777442] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 2.787809] ohci-platform 1c1a400.usb: irq 36, io mem 0x01c1a400 [ 2.856804] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15 [ 2.865108] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.872342] usb usb2: Product: Generic Platform OHCI controller [ 2.878270] usb usb2: Manufacturer: Linux 5.15.69-sunxi ohci_hcd [ 2.884276] usb usb2: SerialNumber: 1c1a400.usb [ 2.889461] hub 2-0:1.0: USB hub found [ 2.893282] hub 2-0:1.0: 1 port detected [ 2.898447] usbcore: registered new interface driver usb-storage [ 2.905803] sun6i-rtc 1f00000.rtc: registered as rtc0 [ 2.910912] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T00:25:58 UTC (1558) [ 2.919228] sun6i-rtc 1f00000.rtc: RTC enabled [ 2.924030] i2c_dev: i2c /dev entries driver [ 2.928588] sun8i-h3-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator [ 2.939533] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.948482] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator [ 2.957706] ledtrig-cpu: registered to indicate activity on CPUs [ 2.964344] sun8i-ce 1c15000.crypto: Set mod clock to 50000000 (50 Mhz) from 24000000 (24 Mhz) [ 2.973268] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority [ 2.973325] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 2.985742] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority [ 2.993524] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority [ 3.001280] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority [ 3.009044] sun8i-ce 1c15000.crypto: Register cbc(aes) [ 3.010638] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 3.014384] sun8i-ce 1c15000.crypto: Register ecb(aes) [ 3.026458] sun8i-ce 1c15000.crypto: Register cbc(des3_ede) [ 3.032208] sun8i-ce 1c15000.crypto: Register ecb(des3_ede) [ 3.037925] sun8i-ce 1c15000.crypto: Register md5 [ 3.042776] sun8i-ce 1c15000.crypto: Register sha1 [ 3.047708] sun8i-ce 1c15000.crypto: Register sha224 [ 3.052819] sun8i-ce 1c15000.crypto: Register sha256 [ 3.055910] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.057930] sun8i-ce 1c15000.crypto: Register sha384 [ 3.067554] mmc0: Problem switching card into high-speed mode! [ 3.070941] sun8i-ce 1c15000.crypto: Register sha512 [ 3.076732] mmc0: new SDHC card at address 0001 [ 3.081710] sun8i-ce 1c15000.crypto: Register stdrng [ 3.087913] mmcblk0: mmc0:0001 SD32G 29.2 GiB [ 3.091420] sun8i-ce 1c15000.crypto: TRNG not supported [ 3.100193] mmcblk0: p1 [ 3.100836] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 1 [ 3.101452] hid: raw HID events driver (C) Jiri Kosina [ 3.114212] usbcore: registered new interface driver usbhid [ 3.119801] usbhid: USB HID core driver [ 3.128548] debugfs: Directory '1c22c00.codec' with parent 'H3 Audio Codec' already present! [ 3.142800] Initializing XFRM netlink socket [ 3.147999] NET: Registered PF_INET6 protocol family [ 3.197626] Segment Routing with IPv6 [ 3.201491] In-situ OAM (IOAM) with IPv6 [ 3.205559] NET: Registered PF_PACKET protocol family [ 3.210658] NET: Registered PF_KEY protocol family [ 3.215561] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 3.228716] 8021q: 802.1Q VLAN Support v1.8 [ 3.233033] Key type dns_resolver registered [ 3.237800] Registering SWP/SWPB emulation handler [ 3.243475] registered taskstats version 1 [ 3.247614] Loading compiled-in X.509 certificates [ 3.259230] Loaded X.509 cert 'Build time autogenerated kernel key: 7702253dc49021ddf40480c737b74c642e4abb5a' [ 3.275681] zswap: loaded using pool zstd/z3fold [ 3.281638] Key type ._fscrypt registered [ 3.285697] Key type .fscrypt registered [ 3.289636] Key type fscrypt-provisioning registered [ 3.300338] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=yes [ 3.328680] Key type encrypted registered [ 3.332761] AppArmor: AppArmor sha1 policy hashing enabled Edited September 29, 2022 by b13 0 Quote
b13 Posted October 8, 2022 Author Posted October 8, 2022 I was able to run the image OrangePi Zero. 0 Quote
neon_sites Posted November 3, 2022 Posted November 3, 2022 (edited) which image of OrangePi Zero worked for you? By the way, did you operate this box with the USB in FEL mode? I want to know if I'm not the only one having problems communicating with it. sunxi-fel and other tools always give me the usb_bulk_send timeout error. Edited November 3, 2022 by neon_sites 0 Quote
donluca Posted November 25, 2022 Posted November 25, 2022 (edited) On 10/8/2022 at 4:38 PM, b13 said: I was able to run the image OrangePi Zero. @b13I'm interested in what image you tried. I'm in a similar boat as you, with a board that has eMCP with LPDDR3 running at 336Mhz. I've done the same steps as you mentioned here without success. Edited November 25, 2022 by donluca 0 Quote
b13 Posted December 31, 2022 Author Posted December 31, 2022 @donluca you need to switch boot from ddr3 to lpddr3 and set the frequency to 280. It doesn’t work normally for me on another. if still relevant 0 Quote
b13 Posted December 31, 2022 Author Posted December 31, 2022 @neon_sites any image, you just need to replace the bootloader. But I do not use HDMI, I need a set-top box as a mini server 0 Quote
blust0ne Posted March 29, 2023 Posted March 29, 2023 I have MXQ-HX-V2.0 board from a bad product of mxq pro 4k 5G. Re-building mainline u-boot with LPDDR3 enabled option , u-boot shows up easily. But all armbian and orangepi images fail to boot, stuck at starting kernel... As B13 said, I also can boot with oragepi zero u-boot and its image downloaded from orangepi site. I found sun8i-h3-libretech-all-h3-cc.dtb has best compatibility with my board. With sun8i-h3-libretech-all-h3-cc 's u-booot + orangepi zero ubuntu image, hdmi console emmc disk side 3 usbs and LAN work. build your u-boot with below changes and try. -CONFIG_DRAM_CLK=672 +#CONFIG_DRAM_CLK=672 +CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y +CONFIG_DRAM_CLK=336 +CONFIG_DRAM_ZQ=3750393 +CONFIG_DRAM_TYPE=7 Let me know if it works out. I'm not familiar with u-boot and linux, so I'm waiting for help. 0 Quote
bunokelo Posted May 16, 2023 Posted May 16, 2023 @blust0ne could you share with me your .img to test on my tv box? I have the same problem, it just won't start. thanks 0 Quote
blust0ne Posted July 20, 2023 Posted July 20, 2023 Download orangepi image and then patch the u-boot region with hexa editor ( HxD ) or dd in linux. Have a nice day. libretech_all_h3_cc_h3_mem_336 - u-boot-sunxi-with-spl.zip 0 Quote
blust0ne Posted August 25, 2023 Posted August 25, 2023 (edited) Orange Pi PC image work well with above u-boot image. (xfce desktop runs) if you have MXQ-HX-V2.0 board , try Orangepipc_2.0.8_ubuntu_focal_desktop_linux5.4.65 Burn orangePi image to SDCARD and then patch the u-boot region 0x2000 with above u-boot image. RetrOrangePi_v4.3_Armbian_5.91_Sunvell-r69_Ubuntu_bionic_dev_5.3.9_desktop.img also works. LibreELEC 10.0.4, 10.0.0, 11.0.3 can boot , copy the sun8i-h3-libretech-all-h3-cc.dtb from Orangepipc_2.0.8_ubuntu_focal_desktop_linux5.4.65 image and edit the /extlinux/extlinux.conf. In my guess , kernel version 5.3.x 5.4.x image may work. Edited August 25, 2023 by blust0ne 1 Quote
Khánh Ngô Posted September 6, 2023 Posted September 6, 2023 (edited) Hi, some emcp is slower thank yours. Try set CONFIG_DRAM_CLK=300 if 336 can't boot! Or set CONFIG_DRAM_ZQ=3650393 and CONFIG_DRAM_CLK=336 Edited September 6, 2023 by Khánh Ngô 0 Quote
javaxsousa Posted September 18, 2023 Posted September 18, 2023 I would like to know how to recompile with the image, I'm using the orangepi build, but every time I change u-boot.cfg in the compilation it returns the original settings. I have the problem that in addition to the emcp memory, I also change the axp which is the 305 and not the 806 0 Quote
blust0ne Posted October 5, 2023 Posted October 5, 2023 https://uthings.uniud.it/building-mainline-u-boot-and-linux-kernel-for-orange-pi-boards With above guide, I can build mainline uboot and u-boot-sunxi. 0 Quote
Marcio Melo Posted November 13, 2023 Posted November 13, 2023 I'm from Brazil, I managed to install it on a TV BOX, Model on the label: (MXQ-H58 v4.02 HXW 19040901-2-A), Z CPU data: Cortez Allwinner H3 1.01 Ghz, quad-core 4 x 1 GHz - 2 Gb RAM and 12 Gb EMMC, physical data taken with a magnifying glass: Wifi Internet: XR819 (2.4 GHZ), Memory 4x SDRAM DDR3: K4B2G0446C, 4GB eMMC: KLM4G1FEPD. The firmware: Armbian_23.8.1_Orangepipc_jammy_current_6.1.47.img.xz worked perfectly using SD, Network cable, USB keyboard and HDMI TV, all the initial procedure and updates were done. The reboot does the procedure and in the end it doesn't reboot, nothing that gets in the way, I've already tested it by cutting off the power and turning it on, the system returns very quickly, very satisfied with the project, I implemented Docker and Home Assistant core, the whole set performs very well. Maybe later on I'll try to experiment and play the initialization part in emmc, at the moment I don't see the need, the system is very agile. Many thanks to the entire team of developers and enthusiasts. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.