Jump to content

Search the Community

Showing results for 'arisc'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

Found 4 results

  1. This is an old and well-known problem for that time. The SOC has a controller (ARISC architecture). The code of that time randomly started the controller at the maximum frequency, for example, when the OS was turned off with the sudo poweroff command. If you did not pull the plug out of the socket, then the processor chip began to warm up more than when the OS was running. You need to update the u-boot and kernel to the current versions.
  2. I just got a X98H. It has the same problem. I was able to extract the Android dts. I found the stock firmware for the box. https://chinagadgetsreviews.com/download-android-12-stock-firmware-for-x98h-tv-box-2.html Using Apritzel's sunxi firmware extraction tool. https://github.com/apritzel/sunxi-fw nick@nick-Inspiron-5680:~/sunxi-fw$ ./sunxi-fw info -v X98H-20221020-1143.img @ 0: wty: PhoenixSuite image file header v3.0, 45 images, 1898 MB wty:sys_config.fex : 34908 bytes @ +0x0000b800 wty:board.fex : 1024 bytes @ +0x00014400 wty:config.fex : 53248 bytes @ +0x00014800 wty:split_xxxx.fex : 512 bytes @ +0x00021800 wty:sys_partition.fex : 5601 bytes @ +0x00021c00 wty:sunxi.fex : 71168 bytes @ +0x00023400 wty:boot0_nand.fex : 61440 bytes @ +0x00034c00 wty:boot0_sdcard.fex : 61440 bytes @ +0x00043c00 wty:u-boot.fex : 884736 bytes @ +0x00052c00 wty:u-boot-crash.fex : 37 bytes @ +0x0012ac00 wty:toc1.fex : 8 bytes @ +0x0012b000 wty:toc0.fex : 8 bytes @ +0x0012b400 wty:fes1.fex : 40160 bytes @ +0x0012b800 wty:boot_package.fex : 1261568 bytes @ +0x00135800 wty:usbtool.fex : 154112 bytes @ +0x00269800 wty:usbtool_crash.fex : 621056 bytes @ +0x0028f400 wty:aultools.fex : 166515 bytes @ +0x00327000 wty:aultls32.fex : 152069 bytes @ +0x0034fc00 wty:cardtool.fex : 73728 bytes @ +0x00375000 wty:cardscript.fex : 1899 bytes @ +0x00387000 wty:sunxi_gpt.fex : 8192 bytes @ +0x00387800 wty:sunxi_mbr.fex : 65536 bytes @ +0x00389800 wty:dlinfo.fex : 16384 bytes @ +0x00399800 wty:arisc.fex : 6 bytes @ +0x0039d800 wty:vmlinux.fex : 12619923 bytes @ +0x0039dc00 wty:boot-resource.fex : 7490560 bytes @ +0x00fa7000 wty:Vboot-resource.fex : 4 bytes @ +0x016cbc00 wty:env.fex : 131072 bytes @ +0x016cc000 wty:Venv.fex : 4 bytes @ +0x016ec000 wty:boot.fex : 67108864 bytes @ +0x016ec400 wty:Vboot.fex : 4 bytes @ +0x056ec400 wty:vendor_boot.fex : 33554432 bytes @ +0x056ec800 wty:Vvendor_boot.fex : 4 bytes @ +0x076ec800 wty:super.fex : 1847555340 bytes @ +0x076ecc00 wty:Vsuper.fex : 4 bytes @ +0x758e4400 wty:misc.fex : 16777216 bytes @ +0x758e4800 wty:Vmisc.fex : 4 bytes @ +0x768e4800 wty:vbmeta.fex : 8192 bytes @ +0x768e4c00 wty:Vvbmeta.fex : 4 bytes @ +0x768e6c00 wty:vbmeta_system.fex : 4096 bytes @ +0x768e7000 wty:Vvbmeta_system.fex : 4 bytes @ +0x768e8000 wty:vbmeta_vendor.fex : 4096 bytes @ +0x768e8400 wty:Vvbmeta_vendor.fex : 4 bytes @ +0x768e9400 wty:dtbo.fex : 2097152 bytes @ +0x768e9800 wty:Vdtbo.fex : 4 bytes @ +0x76ae9800 @ 542: boot0: Allwinner boot0 size: 61440 bytes eGON checksum matches: 0xbf64ad3a DRAM parameters: A64 H616 DRAM clock : 0x288 0x288 - DRAM type : 0x3 0x3 - ZQ value : 0x3030303 - - ODT enabled : 0xe0e0e0e 0x1 - DX ODT : - 0x3030303 - DX DRI : - 0xe0e0e0e - CA DRI : - 0x1f12 - PARA1 : 0x1f12 0x30fb - PARA2 : 0x1 0 - MR0 : 0x30fb 0x840 - MR1 : 0 0x4 - MR2 : 0x840 0x8 - MR3 : 0x4 0 - TPR0 : 0x8 0xc0001002 - TPR6 : 0 0x33808080 - TRP10 : 0 0x2f1107 - TRP11 : 0 0xddddcccc - TRP12 : 0xc0001002 0xeddc7665 - TRP13 : 0 0x40 - The Dram settings where the same so I didn't have to edit the U-boot patch. https://github.com/NickAlilovic/build/blob/main/patch/u-boot/u-boot-sunxi/configs-Transpeed-8K618-T-Add-Transpeed-8K618-T-board-support.patch +CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 +CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e +CONFIG_DRAM_SUN50I_H616_CA_DRI=0x1f12 +CONFIG_DRAM_SUN50I_H616_TPR0=0xc0001002 +CONFIG_DRAM_SUN50I_H616_TPR10=0x2f1107 +CONFIG_DRAM_SUN50I_H616_TPR11=0xddddcccc +CONFIG_DRAM_SUN50I_H616_TPR12=0xeddc7665 +CONFIG_MACH_SUN50I_H616=y +CONFIG_SUNXI_DRAM_H616_DDR3_1333=y +CONFIG_DRAM_CLK=648 My 8K618-T image won't work because these values were different. MMC errors means your box won't boot past U-boot and load a kernel. So you won't get hdmi output, no sound, no wifi, no bluetooth. This is why it's important to have uart installed. X98H mmc: Android dts cd-gpios = <0x23 0x05 0x06 0x11>; Armbian dts cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ 8K618-T mmc: Android dts cd-gpios = <0x23 0x08 0x10 0x11>; Armbian dts cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */ U-Boot SPL 2024.01-armbian (May 09 2024 - 19:55:37 -0400) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL31: v2.10.2(debug):armbian NOTICE: BL31: Built : 19:53:26, May 9 2024 NOTICE: BL31: Detected Allwinner H616 SoC (1823) NOTICE: BL31: Found U-Boot DTB at 0x4a0a0648, model: Transpeed 8K618-T INFO: ARM GICv2 driver initialized INFO: Configuring SPC Controller INFO: PMIC: Probing AXP305 on RSB ERROR: RSB: set run-time address: 0x10003 INFO: Could not init RSB: -65539 INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied INFO: PSCI: Suspend is unavailable INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 INFO: Changed devicetree. ns16550_serial serial@5000000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 U-Boot 2024.01-armbian (May 09 2024 - 19:55:37 -0400) Allwinner Technology CPU: Allwinner H616 (SUN50I) Model: Transpeed 8K618-T DRAM: 2 GiB Core: 61 devices, 22 uclasses, devicetree: separate WDT: Not starting watchdog@30090a0 MMC: mmc@4020000: 0, mmc@4022000: 1 Loading Environment from FAT... MMC: no card present ** Bad device specification mmc 0 ** In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: apply fix for AC300 ephy bb version bug ... using AC300 emac1 ephy fixed config ... eth0: ethernet@5030000 starting USB... Bus usb@5101000: sun4i_usb_phy phy@5100400: External vbus detected, not enabling our own vbus USB EHCI 1.00 Bus usb@5101400: USB OHCI 1.0 Bus usb@5200000: USB EHCI 1.00 Bus usb@5200400: USB OHCI 1.0 scanning bus usb@5101000 for devices... 1 USB Device(s) found scanning bus usb@5101400 for devices... 1 USB Device(s) found scanning bus usb@5200000 for devices... 1 USB Device(s) found scanning bus usb@5200400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop MMC: no card present switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... MMC: no card present No EFI system partition No EFI system partition Failed to persist EFI variables BootOrder not defined EFI boot manager: Cannot load any image Device 0: unknown device ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! missing environment variable: pxeuuid Retrieving file: pxelinux.cfg/01-02-00-70-41-af-ea ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/00000000 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/0000000 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/000000 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/00000 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/0000 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/000 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Retrieving file: pxelinux.cfg/00 ethernet@5030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! A quick and easy way to fix this is to edit the one line in my patch. (Or whatever device dts patch that worked for you) https://github.com/NickAlilovic/build/blob/main/patch/kernel/archive/sunxi-6.7/patches.armbian/arm64-dts-allwinner-h618-add-Transpeed-8K618-T-TV-box.patch +&mmc0 { + vmmc-supply = <&reg_dldo1>; + cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>; /* PI16 */ + bus-width = <4>; + status = "okay"; +}; If you need to add more lines then you would have follow my instructions at the bottom of page 2. (Note: the branch names may of changed "linux-6.7.y" and "v2024.01" for the format-patch command. Use "git branch --show-current" for the new branch name.) You can't just add an Android DTS and hope it works. There's been a lot of changes to the linux kernel since than. You need to port the values to the latest Mainline kernel code. You can find examples here. (Look for DTS in patch file name. 0647-arm64-dts-allwinner-h618-add-vontar-h618-TVbox.patch) https://github.com/torvalds/linux/tree/master/arch/arm64/boot/dts/allwinner https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-6.9/files https://github.com/NickAlilovic/build/tree/main/patch/kernel/archive/sunxi-6.7/patches.armbian
  3. I think that the armbian image that I took doesn't even use the crust firmware yet? At least I don't see a firmware upload in the u-boot log messages and also find no reference elsewhere (arisc strings in dmesg, /lib/firmware, etc.). Maybe someone can confirm that. That would explain what I observe. On the other side the crust firmware seems to have support for GPIO based toggling of the 3 regulators. If the crust firmware isn't being used for this board/armbian image, what is the missing piece?
  4. Mine i also V 1.4 https://nextcloud.lodz.webredirect.org/s/MH8SxkMfjZZQe5i @Ukhellfire This is what I get from UART starting your image U-Boot SPL 2021.10-armbian (Mar 14 2022 - 08:18:53 +0000) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL31: v2.2(debug):a04808c1-dirty NOTICE: BL31: Built : 08:18:34, Mar 14 2022 NOTICE: BL31: Detected Allwinner H6 SoC (1728) NOTICE: BL31: Found U-Boot DTB at 0xc07c170, model: OrangePi 3 LTS INFO: ARM GICv2 driver initialized NOTICE: PMIC: Probing AXP805 NOTICE: PMIC: AXP805 detected INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for 855873 was applied INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 U-Boot 2021.10-armbian (Mar 14 2022 - 08:18:53 +0000) Allwinner Technology CPU: Allwinner H6 (SUN50I) Model: OrangePi 3 LTS DRAM: 2 GiB MMC: mmc@4020000: 0, mmc@4022000: 1 Loading Environment from FAT... Unable to use mmc 0:1... In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: No ethernet found. Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3202 bytes read in 4 ms (781.3 KiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 154 bytes read in 3 ms (49.8 KiB/s) 35780 bytes read in 9 ms (3.8 MiB/s) 4191 bytes read in 6 ms (681.6 KiB/s) Applying kernel provided DT fixup script (sun50i-h6-fixup.scr) ## Executing script at 45000000 12462020 bytes read in 619 ms (19.2 MiB/s) 21735432 bytes read in 1077 ms (19.2 MiB/s) Moving Image from 0x40080000 to 0x40200000, end=41710000 ## Loading init Ramdisk from Legacy Image at 4ff00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 12461956 Bytes = 11.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 4941d000, end 49fff784 ... OK Loading Device Tree to 00000000493ab000, end 000000004941cfff ... OK Starting kernel ... Hangs on "Starting kernel ..." What is checksum for that image? For reference this is Orangepi image booting that works [191]HELLO! BOOT0 is starting! [195]boot0 commit : b65841975dcb31f64a2c69344f60db12b98791ae [213]PMU: AXP806 [216]vdd-sys vol:980mv [219]set pll start [222]set pll end [224]DRAM VERSION IS V2_76 [227]PMU:Set DDR Vol 1200mV OK. [230]PMU:Set DDR Vol 1200mV OK. [1439]DRAM CLK =744 MHZ [1441]DRAM Type =7 (3:DDR3,4:DDR4,6:LPDDR2,7:LPDDR3) [1446]DRAM zq value: 003b3bfb [1750]IPRD=00710071--PGCR0=00000f5d--PLL=b0003d00 [1755]Actual DRAM SIZE =2048 M [1758]DRAM SIZE =2048 M,para1 = 000030fa,para2 = 08001000 [1769]DRAM simple test OK. [1772]dram size =2048 [1775]card no is 0 [1777][mmc]: mmc driver ver 2017-10-19 10:34:00 [1781][mmc]: sdc0 spd mode error, 2 [1785][mmc]: mmc 0 bias 00000000 [1793][mmc]: Wrong media type 0x00000000 [1797][mmc]: ***Try SD card 0*** [1807][mmc]: HSSDR52/SDR25 4 bit [1810][mmc]: 50000000 Hz [1813][mmc]: 14840 MB [1815][mmc]: ***SD/MMC 0 init OK!!!*** [1945]Loading boot-pkg Succeed(index=0). [1949]Entry_name = u-boot [1964]Entry_name = parameter [1967]Entry_name = monitor [1971]Entry_name = scp [1980]set arisc reset to de-assert state [1984]Entry_name = soc-cfg [1988]Entry_name = dtb [1992]Ready to disable icache. [1995]Jump to secend Boot. INFO: Configuring SPC Controller NOTICE: BL3-1: v1.0(debug):c5e8aec NOTICE: BL3-1: Built : 14:42:22, Apr 26 2018 NOTICE: BL3-1 commit: c5e8aec20ca8c6ce31078c5689cbdb1a7352c813 INFO: BL3-1: Initializing runtime services ERROR: Error initializing runtime service tspd_fast INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x4a000000 INFO: BL3-1: Next image spsr = 0x1d3 U-Boot 2014.07-orangepi (Dec 30 2021 - 09:15:17) Xunlong Software [2.043]uboot commit : b65841975dcb31f64a2c69344f60db12b98791ae [2.043]secure enable bit: 0 [2.043]normal mode: with secure monitor I2C: ready [2.044]pmbus: ready [2.044][ARISC] :arisc initialize [2.070][ARISC] :arisc para ok [SCP] :sunxi-arisc driver begin startup 2 [SCP] :arisc version: [] [SCP] :sunxi-arisc driver v1.10 is starting [2.084][ARISC] :sunxi-arisc driver startup succeeded [2.085]PMU: AXP806 [2.085]PMU: AXP806 found [2.085]bat_vol=0, ratio=0 [2.085]set pc_bias(1) bias:1800 [2.085]set pg_bias(5) bias:1800 [2.085]set power on vol to default [2.086]dcdca_vol = 1000, onoff=1 [2.090]aldo2_vol = 3300, onoff=1 [2.094]bldo3_vol = 1800, onoff=1 [2.098]cldo2_vol = 3300, onoff=1 [2.103]cldo3_vol = 3300, onoff=1 [2.107]find power_sply to end [2.107]cant find pll setting(1320M) from pll table,use default(408M) [2.109]PMU: cpux 408 Mhz,AXI=204 Mhz [2.109]PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz MBus=400Mhz [2.114]DRAM: 2 GiB [2.117]fdt addr: 0xb9ccb0e0 [2.118]gd->fdt_size: 0x1a6c0 [2.121]Relocation Offset is: 74d85000 [2.207]gic: sec monitor mode [2.207]line:180 func:check_ir_boot_recovery start [2.207]ir boot recovery not used [2.207][key recovery] no use [2.208][box standby] read rtc = 0x0 [2.208][box standby] start_type = 0x1 [2.208][box standby] to kernel [2.208]workmode = 0,storage type = 1 [2.210]MMC: 2 SUNXI SD/MMC: 2 [mmc]: [0-63|64] [mmc]: [0-54|55] [mmc]: [6-51|46] [mmc]: [0-13|14] [27-31|5] [36-53|18] [mmc]: [0-51|52] [59-59|1] [61-63|3] [mmc]: [0-28|29] [59-63|5] [mmc]: [0-61|62] [mmc]: [6-54|49] [56-61|6] [mmc]: [2-6|5] [9-58|50] [mmc]: [1-28|28] Normal [7.003]MMC: 0 SUNXI SD/MMC: 2, SUNXI SD/MMC: 0 [7.024]sunxi flash init ok [7.024]hdmi hdcp not enable! [7.024]display init start [7.024]drv_disp_init [7.041]init_clocks: finish init_clocks. [7.060]__clk_enable: clk is null. [7.060]hdmi cec clk enable failed! [7.066]request pwm success, pwm1:pwm1:0x300a000. [7.074]key emac have not been burned yet [7.074][ac200] tv_read_sid,line:188 [7.074]sunxi_efuse_readn failed:-1 [7.081]drv_disp_init finish [7.081]hdmi hdcp not enable! 200 bytes read in 14 ms (13.7 KiB/s) Set HDMI disp_mode to 1080p60 [7.099]hdmi hpd out, force open? 200 bytes read in 13 ms (14.6 KiB/s) Set fb0_width to 1280 Set fb0_height to 720 [7.116]display init end Using default environment bmp_name=/boot/boot.bmp 230456 bytes read in 26 ms (8.5 MiB/s) [7.153]show bmp on ok [7.153]inter uboot shell Hit any key to stop autoboot: 0 mmc0 is current device 2615 bytes read in 18 ms (141.6 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 200 bytes read in 14 ms (13.7 KiB/s) 102389 bytes read in 31 ms (3.1 MiB/s) 6551063 bytes read in 311 ms (20.1 MiB/s) 22480968 bytes read in 994 ms (21.6 MiB/s) ## Booting kernel from Legacy Image at 41000000 ... Image Name: Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 22480904 Bytes = 21.4 MiB Load Address: 41000000 Entry Point: 41000000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6550999 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK reserving fdt memory region: addr=40020000 size=800 reserving fdt memory region: addr=48000000 size=1000000 reserving fdt memory region: addr=48100000 size=4000 reserving fdt memory region: addr=48104000 size=1000 reserving fdt memory region: addr=48105000 size=1000 reserving fdt memory region: addr=43000000 size=1a000 Loading Ramdisk to 499c0000, end 49fff5d7 ... OK Using Device Tree in place at 44000000, end 4401d6bf Starting kernel ... INFO: BL3-1: Next image address = 0x41000000 INFO: BL3-1: Next image spsr = 0x3c5 WARNING: Unimplemented Standard Service Call: 0xc0000026 Orange Pi 2.1.6 Buster ttyS0
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines