Jump to content

Ugoos AM3 (ugoos-am3)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Amlogic Generic TV Box (amlogic-tvbox) for installation instructions and more information.
Ugoos AM3
Ugoos AM3 android TV box
Ugoos AM3 android TV box
Manufacturer Ugoos
Name AM3
Codename ugoos-am3
Model AM3
Released 2018
Type set-top box
Hardware
Chipset Amlogic S912
CPU Octa-Core (4x 1.512 GHz Cortex-A53, 4x 1.0 GHz Cortex-A53)
GPU Mali-450 MP3
Display HDMI
Storage 16 GB
Memory 2 GB
Architecture aarch64
Software
Original software Android
Original version 7.1
FOSS bootloader no
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel none
Unixbench Whet/Dhry score 2532.5
Generic port Amlogic Generic TV Box (amlogic-tvbox)
Features
Flashing
Broken
USB Networking
Broken
Internal storage
Works
SD card
Works
Battery
No data
Touchscreen
No data
Multimedia
3D Acceleration
Works
Audio
Works
Camera
No data
IR TX
No data
IR RX
Works
Connectivity
WiFi
Works
Ethernet
Works
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB-A
Works
SATA/eSATA
No data
USB OTG
No data
HDMI/DP
Works
Sensors
Ambient Light
No data
Haptics
No data


Contributors

  • jn

Users owning this device

Booting

  • Ethernet doesn't seem to work in vendor U-Boot :(
  • Vendor U-Boot can read FAT and EXT4 filesystems from USB storage:
    • usb start
    • fatls usb 0
    • fatload usb 0 ${loadaddr} boot
    • fatload usb 0 ${dtb_mem_addr} am3.dtb
    • bootm
  • Vendor U-Boot can't boot FIT images produced by the Linux Kernel build system
  • A fastboot command is present in Vendor U-Boot. You need a USB-A (plug) to USB-A (plug) cable to use it (plugged into the "OTG" port)
    • "fastboot boot" is implemented but always results in a crash
  • Vendor U-Boot might not like your gzip-compressed kernel. Try uncompressed.


$ unpack_bootimg --boot_img boot --format mkbootimg
--header_version 0 --os_version 7.1.2 --os_patch_level 2017-12 --kernel out/kernel --ramdisk out/ramdisk --pagesize 0x00000800 --base 0x00000000 --kernel_offset 0x01080000 --ramdisk_offset 0x01000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --board '' --cmdline buildvariant=userdebug


UART

  • UART @ 3.3V, 115200 baud:
(4) (3) (2) [1]
Vcc RXD TXD GND
  • U-Boot shell and userspace shell on UART
  • su without password


boot log:


U-Boot environment:


Downstream device tree (decompiled, lightly edited)


See also