

Ricardo JL Rufino
-
Posts
23 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Ricardo JL Rufino
-
-
-
-
Datasheet of memory.
-
-
Hi I got this Tvbox with H3 processor, I managed to boot using the image of the Orangepi PC.
However it still needs some improvements.
DISPLAY: OK
ETHERNET: OK
WIFI: NO
BLUETOOTH: NO
RAM: DETECTED ONLY 1GB of 4GB ?! WAY ?!?
Used image: Armbian_21.02.3_Orangepipc_buster_current_5.10.21.img.xz
How do I configure the total ram?
In Datasheet say 2GB in the CPU area, and 2GB in the GPU area. Totalizing 4GB, or am I wrong?
https://wiki.friendlyarm.com/wiki/images/4/4b/Allwinner_H3_Datasheet_V1.2.pdf
Specs:
# uname -a Linux localhost 4.4.55 #1 SMP PREEMPT Mon Aug 31 19:03:00 CST 2020 armv7l
# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 22.85 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 Hardware : sun8iw7 Revision : 0000 Serial : 146078910318102c08d3
# lsmod Module Size Used by ssv6x5x 514320 0 uvcvideo 75168 0 videobuf2_vmalloc 6058 1 uvcvideo videobuf2_memops 2009 1 videobuf2_vmalloc videobuf2_v4l2 21951 1 uvcvideo videobuf2_core 24478 2 uvcvideo,videobuf2_v4l2 algif_skcipher 9956 0 algif_rng 2109 0 algif_hash 4917 0 af_alg 8309 3 algif_skcipher,algif_rng,algif_hash sunxi_ir_rx 7805 0 sunxi_keyboard 5179 0 mali 311880 36 fivm 7878 0
cat /proc/meminfo MemTotal: 4194304 kB MemFree: 247608 kB MemAvailable: 449840 kB Buffers: 6672 kB Cached: 389972 kB
-
Sorry I had not noticed the topic that is referring to boards supported.
-
-
Hi I got this Tvbox with H3 processor, I managed to boot using the image of the Orangepi PC.
However it still needs some improvements.
- DISPLAY: OK
- ETHERNET: OK
- WIFI: NO
- BLUETOOTH: NO
- RAM: DETECTED ONLY 1GB of 4GB ?! WAY ?!?
Used image: Armbian_21.02.3_Orangepipc_buster_current_5.10.21.img.xz
How do I configure the total ram?
Specs:
# uname -a Linux localhost 4.4.55 #1 SMP PREEMPT Mon Aug 31 19:03:00 CST 2020 armv7l
# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 22.85 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 Hardware : sun8iw7 Revision : 0000 Serial : 146078910318102c08d3
# lsmod Module Size Used by ssv6x5x 514320 0 uvcvideo 75168 0 videobuf2_vmalloc 6058 1 uvcvideo videobuf2_memops 2009 1 videobuf2_vmalloc videobuf2_v4l2 21951 1 uvcvideo videobuf2_core 24478 2 uvcvideo,videobuf2_v4l2 algif_skcipher 9956 0 algif_rng 2109 0 algif_hash 4917 0 af_alg 8309 3 algif_skcipher,algif_rng,algif_hash sunxi_ir_rx 7805 0 sunxi_keyboard 5179 0 mali 311880 36 fivm 7878 0
cat /proc/meminfo MemTotal: 4194304 kB MemFree: 247608 kB MemAvailable: 449840 kB Buffers: 6672 kB Cached: 389972 kB
-
Try: dtb_meson-gxl-s905w-p281.dtb
-
Hey I read several topics but I didn't find that the script was specific, maybe an alert talking about compatibility before running helps !!
people make mistakes! -
I able to boot using some HACK !
Frist, duplicate the uInitrd (to name zInitrd), to move file to another disk offset.
this fix previous error
[01:39:11:899] reading /uInitrd [01:39:11:917] emmckey_is_access_range_legal, keys 73760, keye 74271, start 63048, blkcnt 19834 [01:39:11:917] Emmckey: Access range is illegal!
Question ? Need recompile uboot, to remove this ?
put 'aml_autoscript' in a blank SD card, only to BOOT form
setenv bootargs "root=/dev/mmcblk1p2 rootwait rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes" setenv loadaddr "0x11000000"; setenv dtb_loadaddr "0x1000000"; setenv initrd_loadaddr "0x13000000" fatload mmc 1:1 ${initrd_loadaddr} /zInitrd fatload mmc 1:1 ${loadaddr} /zImage fatload mmc 1:1 ${dtb_loadaddr} /dtb/amlogic/meson-gxl-s905w-p281.dtb booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}
PS: use this, to compile script:
mkimage -A arm -O linux -T script -C none -d aml_autoscript_emmc_load.cmd aml_autoscript
i understanding very little about the AMLOGIC initialization process
what configuration can I use to don't need the SD card?
-
Using #mmc dev 1 (to see partitions), i got this error
[09:20:52:702] gxl_p281_v1#mmc dev 1 [09:21:01:863] emmc/sd response timeout, cmd8, status=0x1ff2800 [09:21:01:868] emmc/sd response timeout, cmd55, status=0x1ff2800 [09:21:01:924] init_part() 278: PART_TYPE_DOS [09:21:01:924] [mmc_init] mmc init success [09:21:01:962] dtb magic c7c99663 [09:21:01:962] Amlogic multi-dtb tool [09:21:01:962] Cannot find legal dtb! [09:21:01:962] start dts,buffer=0000000073ecdb50,dt_addr=0000000073ecdb50 [09:21:01:962] check_valid_dts: FDT_ERR_BADMAGIC [09:21:01:962] get_partition_from_dts: -9 [09:21:01:962] get_ptbl_from_dtb()-259: get partition table from dts faild [09:21:01:971] mmc_device_init()-1081: get partition table from dtb failed [09:21:01:985] get_ptbl_rsv()-483: magic faild MPT, <0xb4>V<0x15> [09:21:01:985] mmc_device_init()-1108: dtb&rsv are not exist, no LPT source [09:21:01:985] switch to partitions #0, OK [09:21:01:985] mmc1(part 0) is current device
this error equals that i found in boot log
[09:37:15:167] gxl_p281_v1#saveenv [09:37:56:324] Saving Environment to aml-storage... [09:37:56:334] _find_partition_by_name()-188: do not find match in table env
Would it be a partition layout problem ?!
-
I tried install to eMMC using the script: install-aml-s905-emmc.sh , resulting in boot loop, and not boot from SD card
My board: dtb_meson-gxl-s905w-p281.dtb
Img: Armbian_20.05.1_Arm-64_buster_current_5.6.2_20200408.img.xz
---
After many tries, a found a way to boot (form SD), using uboot cmd line:
## Load from SD card setenv bootargs "root=/dev/mmcblk0p2 rootwait rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes" setenv loadaddr "0x11000000"; setenv dtb_loadaddr "0x1000000"; setenv initrd_loadaddr "0x13000000" ext4load mmc 0:3 ${initrd_loadaddr} /uInitrd ext4load mmc 0:3 ${loadaddr} /zImage ext4load mmc 0:3 ${dtb_loadaddr} /meson-gxl-s905w-p281.dtb booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}
I found a strange error, trying boot from emmc (uboot cmd line)
fatload mmc 1:1 ${loadaddr} /zImage
[01:39:08:790] gxl_p281_v1#fatload mmc 1:1 ${initrd_loadaddr} /uInitrd [01:39:11:899] reading /uInitrd [01:39:11:917] emmckey_is_access_range_legal, keys 73760, keye 74271, start 63048, blkcnt 19834 [01:39:11:917] Emmckey: Access range is illegal! [01:39:11:917] Error reading cluster [01:39:11:917] ** Unable to read file /uInitrd **
what could i do to bypass this error?
This may related to this ???
https://github.com/endlessm/u-boot-meson/blob/master/drivers/mmc/mmc.c#L91
My boot loop log:
-
Hi, I always had the desire to understand if it is possible to use the pins of the IR sensor, as general input / output to control sensors and actuators ?!
What would be the steps to allow this?My Board:
TX8 PRO / Amlogic S905W
root@arm-64:/sys/class/gpio# cat /sys/kernel/debug/gpio
gpiochip1: GPIOs 401-500, parent: platform/c8834000.bus:pinctrl@4b0, periphs-banks: gpio-420 ( |regulator-hdmi-5v ) out lo gpio-422 ( |enable ) out lo gpio-436 ( |reset ) out hi ACTIVE LOW gpio-449 ( |cd ) in lo ACTIVE LOW gpio-486 ( |reset ) out hi ACTIVE LOW gpio-497 ( |shutdown ) out hi
root@arm-64:/sys/class/gpio# uname -a
Linux arm-64 5.6.0-rc6-arm-64 #20.05.0 SMP PREEMPT Fri Apr 3 13:19:09 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux
-
On 3/7/2020 at 5:48 PM, rossbcan said:
whoohoo!! solved: No Wifi Tanix TX92
I did all the heavy lifting on this. Please incorporate changes in build (if you want), including the firmware
patch from https://www.spinics.net/lists/linux-wireless/msg190482.html
to patch/kernel/aml-s9xxx-current/qca9377_hw1.1.patch
on target:
hint: https://github.com/erstrom/linux-ath/issues/9
cd /tmp; git clone -b bd-sdmac https://github.com/erstrom/ath10k-firmware.git
mkdir /lib/firmware/ath10k; cp -rf ath10k-firmware/QCA9887/ /lib/firmware/ath10k
cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
cp /lib/firmware/ath10k/QCA9377/hw1.0/untested/firmware-sdio-5.bin_WLAN.TF.1.1.1-00061-QCATFSWPZ-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-sdio-5.binRegards;
Bill
WiFi Working !! thanks
My Board: Tx8 - S905W 2GB
Using DTB: dtb_meson-gxl-s905w-p281.dtb
Image: Armbian_20.05.0_Arm-64_bionic_current_5.6.0-rc6_desktop_20200403.img.xz
No patch required, only copy files:
cd /tmp; git clone --depth=1 https://github.com/erstrom/ath10k-firmware mkdir /lib/firmware/ath10k; cp -rf ath10k-firmware/QCA9377/ /lib/firmware/ath10k cd /lib/firmware/ath10k/QCA9377/hw1.0/ cp firmware-5.bin_WLAN.TF.1.0-00267-1 firmware-5.bin cp untested/firmware-sdio-5.bin_WLAN.TF.1.1.1-00061-QCATFSWPZ-1 firmware-sdio-5.bin
-
NOTE: I'm using DTC from Ubuntu package
Using DTC from: /mnt/build/cache/sources/u-boot/v2019.10/scripts/dtc (DOCKER BUILD SYSTEM)
A got this erros:
devicetree-orig2.dts: Warning (unit_address_vs_reg): /mali: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /timer_bc: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /pm: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /cpu_iomap/io_cbus_base: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /cpu_iomap/io_apb_base: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /cpu_iomap/io_aobus_base: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /amlogic-watchdog: node has a reg or ranges property, but no unit name
devicetree-orig2.dts: Warning (unit_address_vs_reg): /meson_clock: node has a reg or ranges property, but no unit name
I had heard that DTC was platform independent ...
-
Hi,
I tried using the original device DTB but it didn't work.
1. Copy from running Android
dd if=/dev/dtb | gzip > /storage/downloads/dtb.img.gz
2. Extract using
https://github.com/PabloCastellano/extract-dtb
This found 2 dtbs in attachment.
01_dtbdump_Amlogic.dtb
02_dtbdump_Amlogic.dtb3. Decompile dtc
4. re-compile using dtc
dtc -I dts -O dtb -o dtb_dec_orig.img devicetree-01.dts
I have tried 2 original dtbs and 2 compiled
All stop in:
reading uEnv.ini 263 bytes read in 7 ms (36.1 KiB/s) mac=06:41:80:10:85:16 reading /dtb/amlogic/01_dtbdump_Amlogic.dtb 43008 bytes read in 15 ms (2.7 MiB/s) [rsvmem] get fdtaddr NULL! rsvmem - reserve memory Usage: rsvmem check - check reserved memory rsvmem dump - dump reserved memory rsvmem check failed ## Loading init Ramdisk from Legacy Image at 13000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 9980318 Bytes = 9.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected ## Flattened Device Tree blob at 01000000 Booting using the fdt blob at 0x1000000 Loading Ramdisk to 73519000, end 73e9d99e ... OK Loading Device Tree to 000000001fff2000, end 000000001ffff001 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 5505599 us
-
file dtb_librelect_wifi__gxl_p281_2g.dtb ↵ 32
>>> dtb_librelect_wifi__gxl_p281_2g.dtb: Device Tree Blob version 17, size=41186, boot CPU=0, string block size=3578, DT structure block size=37552file dtb_meson-gxl-s905w-p281.dtb
>>> dtb_meson-gxl-s905w-p281.dtb: Device Tree Blob version 17, size=26210, boot CPU=0, string block size=1490, DT structure block size=24664Using the file command, I saw that both are a Device Tree.
-
Quote
I think you are referring to img file and not dtb file in your boot.ini or uEnv.ini.
look at this line reading /dtb/amlogic/dtb_librelect_workingwifi.img
I attached 2 DTBs used to test
dtb_meson-gxl-s905w-p281.dtb - works on armbian , and, not work in CoreELEC
dtb_librelect_wifi__gxl_p281_2g.dtb - not works armbian, but works in CoreELEC
Are they different files / types?
I saw that both are binarydtb_librelect_wifi__gxl_p281_2g.dtb dtb_meson-gxl-s905w-p281.dtb
-
I was able to make CoreELEC run with WIFI and Bluetooth support.
I used the same DTB in (Armbian_19.11.3_Aml-g12_bionic_legacy_5.3.0_desktop_20191126.img), but the BOX doesn't even want to boot.
In theory the same DTB should work, not ?!?!
On CoreELEC I used gxl_p281_2g .
Armbian only boot using: meson-gxl-s905w-p281.img
But my Android is: TX8 PRO: CS_905W
My WiFi chipset QCA9377,.
What files should I copy to make it work?
reading /dtb/amlogic/dtb_librelect_workingwifi.img 41186 bytes read in 14 ms (2.8 MiB/s) [rsvmem] get fdtaddr NULL! rsvmem - reserve memory Usage: rsvmem check - check reserved memory rsvmem dump - dump reserved memory rsvmem check failed ## Loading init Ramdisk from Legacy Image at 13000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 9980318 Bytes = 9.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected ## Flattened Device Tree blob at 01000000 Booting using the fdt blob at 0x1000000 Loading Ramdisk to 73519000, end 73e9d99e ... OK Loading Device Tree to 000000001fff2000, end 000000001ffff0e1 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 5496901 us
-
Hi, I'm trying to make my MX S805 (m201_512m) work with the "armbian" but without much success
The boot of the kernel seems to be working, because when I insert a usb, the message appears.
PS: This I'm tracking through the serial port.
Quote[ 137.502672@2] stk8baxx_permis_thread exit, retry=22
[ 178.448550@0] usb 1-1.3: USB disconnect, device number 5
[ 517.202741@0] usb 1-1.3: new high-speed USB device number 7 using dwc_otg
[ 517.324055@0] usb 1-1.3: New USB device found, idVendor=8644, idProduct=8003
[ 517.330921@0] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 517.338481@0] usb 1-1.3: Product: USB Flash Disk
[ 517.344411@0] usb 1-1.3: Manufacturer: General
[ 517.350780@0] usb 1-1.3: SerialNumber: 034020000004ADC4
[ 517.357123@0] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 517.363736@0] scsi1 : usb-storage 1-1.3:1.0
[ 518.363518@0] scsi 1:0:0:0: Direct-Access General USB Flash Disk 1.00 PQ: 0 ANSI: 2
[ 518.373848@3] sd 1:0:0:0: [sda] 15669248 512-byte logical blocks: (8.02 GB/7.47 GiB)
[ 518.381962@3] sd 1:0:0:0: [sda] Write Protect is off
[ 518.387491@3] sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 518.393469@3] sd 1:0:0:0: [sda] No Caching mode page found
[ 518.398932@3] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 518.407964@3] sd 1:0:0:0: [sda] No Caching mode page found
[ 518.413479@3] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 518.421127@3] sda: sda1 sda2
[ 518.430098@3] sd 1:0:0:0: [sda] No Caching mode page found
[ 518.435628@3] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 518.441701@3] sd 1:0:0:0: [sda] Attached SCSI removable diskI have nothing on the HDMI output (using adapter)
Neither any new IP in the router's dhcp table.Another (strange) thing I can not do is stop BOOT, I have tried ENTER, SPACE, CTRL + C, it seems the RX line is not working on.
I have another android TV (Sunxi A20) and the serial adapter it works normally with it.Images:
Armbian_5.27_S805_Debian_jessie_3.10.33_xfce_20170324.img (Boot log: https://pastebin.com/Wujp8vj2)
Armbian_5.27_S805_Debian_jessie_3.10.33_server_20170324.img.xz
Working images with this device:
AlexELEC-S805.MXQ_V31.arm-2.2.3.img
LibreELEC-S805.m201d.arm-7.0.3.3c.img.gz
MX9 4GB - Allwinner h3
in Allwinner CPU Boxes
Posted
I'm trying run some Games Emulatores, but all are slow
Using EmuELEC-H3, this error apper on console:
So for those who want to run an emulator, they may encounter this problem.
Maybe it’s the fact that you’re using the OrangePiPC DTB