All Activity
- Past hour
-
mxq pro 4k 5g allwinner h313 can't sd card boot
Sergey Lepeshkin replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
@Ducdanh Nguyen, can you contact seller of your tv box and ask if they can provide firmware (or "firmware update") for it? -
This issue isn't for orangepione, but for nanopineo - which I can't find in the dropdowns anymore. Perhaps it is no longer supported. I'm able to build a working image using this command: ./compile.sh BOARD=nanopineo BRANCH=current RELEASE=noble BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=xz However, if I add the CPU governance variables, such as this: ./compile.sh BOARD=nanopineo BRANCH=current RELEASE=noble BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=xz CPUMIN=81600 CPUMAX=96000 ...the build fails with the following error text: ./compile.sh mike [πΈ] This script requires root privileges; Docker is unavailable [ trying to use sudo ] [πΏ] Applying cmdline param [ 'PREFER_DOCKER': '(unset)' --> 'no' early ] [π±] Skip cmdline param [ 'ARMBIAN_RELAUNCHED': already set to 'yes' early ] [πΏ] Applying cmdline param [ 'SET_OWNER_TO_UID': '(unset)' --> '1000' early ] [π±] Skip cmdline param [ 'PREFER_DOCKER': already set to 'no' after config 'config-mike.conf' ] [π±] Skip cmdline param [ 'ARMBIAN_RELAUNCHED': already set to 'yes' after config 'config-mike.conf' ] [π±] Skip cmdline param [ 'SET_OWNER_TO_UID': already set to '1000' after config 'config-mike.conf' ] [π±] Starting single build process [ nanopineo ] [π±] Checking [ basic host setup ] [π±] Build host OS release [ noble ] [π±] Build host architecture [ arm64 ] [π±] Sourcing board configuration [ /home/mike/build/config/boards/nanopineo.csc ] [β ] change-tracking: after sourcing board file config/boards/nanopineo.csc [ BOARDFAMILY='sun8i' ] [β ] change-tracking: after sourcing board file config/boards/nanopineo.csc [ BOOTCONFIG='nanopi_neo_defconfig' ] [β ] change-tracking: after defaulting LINUXFAMILY to BOARDFAMILY [ LINUXFAMILY='sun8i' ] [π±] Starting main configuration [π±] Using REVISION from [ main VERSION file: '25.11.0-trunk' ] [πΏ] Enabling extension [ armbian-config ] [π±] Sourcing family configuration [ /home/mike/build/config/sources/families/sun8i.conf ] [πΏ] Enabling extension [ sunxi-tools ] [π₯] Error 1 occurred in main shell [ at /home/mike/build/lib/functions/configuration/main-config.sh:552 source_family_config_and_arch() --> lib/functions/configuration/main-config.sh:552 do_main_configuration() --> lib/functions/configuration/main-config.sh:291 do_with_logging() --> lib/functions/logging/section-logging.sh:81 do_with_conditional_logging() --> lib/functions/logging/section-logging.sh:111 prep_conf_main_build_single() --> lib/functions/main/config-prepare.sh:29 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:22 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:208 main() --> compile.sh:50 ] I looked at the source_family_config_and_arch() function source, and the file that gets passed into it (/home/mike/build/config/sources/families/sun8i.conf) exists on my box, but something is causing the failure at line 552 anyway. What's strange is that the exact same LINUXFAMILY / BOARDFAMILY is configured in my working command (with all the params passed on the cmdline), like this: π±] Sourcing board configuration [ /home/mike/build/config/boards/nanopineo.csc ] [β ] change-tracking: after sourcing board file config/boards/nanopineo.csc [ BOARDFAMILY='sun8i' ] [β ] change-tracking: after sourcing board file config/boards/nanopineo.csc [ BOOTCONFIG='nanopi_neo_defconfig' ] [β ] change-tracking: after defaulting LINUXFAMILY to BOARDFAMILY [ LINUXFAMILY='sun8i' ] [π±] Starting main configuration [π±] Using REVISION from [ main VERSION file: '25.11.0-trunk' ] [πΏ] Enabling extension [ armbian-config ] [π±] Sourcing family configuration [ /home/mike/build/config/sources/families/sun8i.conf ] [πΏ] Enabling extension [ sunxi-tools ] [β ] change-tracking: after sourcing family config [ KERNEL_MAJOR_MINOR='6.12' ] [β ] change-tracking: after sourcing family config [ LINUXFAMILY='sunxi' # (was: 'sun8i') ] [β ] change-tracking: after sourcing family config [ KERNELPATCHDIR='archive/sunxi-6.12' ] [β ] change-tracking: after sourcing family config [ BOOTBRANCH='tag:v2024.01' ] [β ] change-tracking: after sourcing family config [ BOOTPATCHDIR='u-boot-sunxi' ] [β ] change-tracking: after sourcing family config [ NETWORKING_STACK='network-manager' ] The build/config/sources/families/sun8i.conf file, referenced in the log output, contains a proper CPUMIN and CPUMAX, so I'm not sure why specifying them on the command line blows up the build. # SPDX-License-Identifier: GPL-2.0 # # Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com # # This file is a part of the Armbian Build Framework # https://github.com/armbian/build/ # # shellcheck source=config/sources/families/include/sunxi_common.inc source "${BASH_SOURCE%/*}/include/sunxi_common.inc" if [[ -z ${OVERLAY_PREFIX} ]]; then OVERLAY_PREFIX='sun8i-h3' fi [[ -z $CPUMIN ]] && CPUMIN=480000 [[ -z $CPUMAX ]] && CPUMAX=1400000 Any thoughts on what I'm doing wrong?
- Today
-
mxq pro 4k 5g allwinner h313 can't sd card boot
Sergey Lepeshkin replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
So i have found what's we dealing with: it is HiSilicon hi3798mv310. See attached proc_version and config.gz. Furthermore, I've installed eset nod32 antivirus on this box and it found some suspicious apps (see photo). I will send them to eset for more thorough analysis. Overall this news is "Not great, not terrible". @Ducdanh Nguyen, I think there is no pre-built armbian or other linux distro images for this chip. I did a brief google search and found only this SDK: https://github.com/JasonFreeLab/HiSTBLinuxV100R005C00SPC050 As it seems to me, you can compile it and get some clean linux for this box. Let us know if it works. BTW, author of this SDK recommend to burn it using HiTool. But HiTool uses UART (only?) to interact with chip, and we don't have UART wired on our board. There are seems to be option to upgrade it from usb flash, but how will this work - idk... Also, here is related discussion: What about debugging by usb - either through enabling Android "Debug over usb" function or booting with reset button pushed - I doubt it will work. Nevertheless, this tv box is usable for its direct purpose. All that should be done, is replacing heatsink and changing firmware to trusted one (without any trojans and viruses). BTW, funny fact: hi3798mv310 have only 3 USB interfaces, but on our board there are 4 USB connectors. LOL! I'm wondering if there any scam museum in the world? If any, this box will be a very interesting piece for them. config.gz proc_version -
moved since neither a review nor a tutorial. I made a writeup just a few days ago how to get an idea about how Armbian puts its kernel and uboot sources together with an example for a different board:
-
I haven't tried the vendor image, but I have another SBC (RasPi4) that can succesfully output audio through the monitor speakers, so the monitor is ok. I could re-test the HDMI cable I guess, but since the video signal is ok I don't expect the audio to have issues.
- Yesterday
-
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
@Sergey LepeshkinThanks! But i mean the reset button, but i will try since i dont have time and on school -
So I recently loaded the x86 Armbian 6.12 - Ubuntu 24.04 (Noble) server image onto a GEEKOM Air12 Lite N150 (wow that was a mouthful), only to find the ethernet port missing... turns out the Motorcomm YT6801 Ethernet Controller it uses is not in the mainline distro and has to be built manually. I have so far referenced the following resources about this: https://github.com/albertogviana/YT6801 https://github.com/dante1613/Motorcomm-YT6801 https://forums.linuxmint.com/viewtopic.php?t=438301 https://deb.tuxedocomputers.com/ubuntu/pool/main/t/tuxedo-yt6801/ and run the gamut for two days straight without much luck. First the linux headers were not installed, so I installed them through armbian-config, only to find out they were still not available because potentially the headers are for 6.12.41 are not available? https://mirror.twds.com.tw/armbian-apt/pool/main/l/linux-headers-current-x86/ (I don't see them listed here, I do see a 6.12.32 and a 6.12.44) Then I rolled back the Kernel to 6.12.32 and tried to install the headers again them through armbian-config, only to find out they were still not available?!?!? So I installed them by downloading the *.deb directly and manually installed them. Now I can get the latest tuxedo driver (tuxedo-yt6801_1.0.30tux4_all.deb) to build and install, but the module will not load. journalctl | grep "yt6801" shows .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time here is the output from the install: root@Armbian:~# sudo dpkg -i tuxedo-yt6801_1.0.30tux4_all.deb (Reading database ... 79866 files and directories currently installed.) Preparing to unpack tuxedo-yt6801_1.0.30tux4_all.deb ... Module tuxedo-yt6801-1.0.30tux4 for kernel 6.12.32-current-x86 (x86_64). Before uninstall, this module version was ACTIVE on this kernel. yt6801.ko: - Uninstallation - Deleting from: /lib/modules/6.12.32-current-x86/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod......... Deleting module tuxedo-yt6801-1.0.30tux4 completely from the DKMS tree. (Re)load module if possible Unpacking tuxedo-yt6801 (1.0.30tux4) over (1.0.30tux4) ... Setting up tuxedo-yt6801 (1.0.30tux4) ... Loading new tuxedo-yt6801-1.0.30tux4 DKMS files... Building for 6.12.32-current-x86 Building initial module for 6.12.32-current-x86 Done. yt6801.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/6.12.32-current-x86/updates/dkms/ depmod... (Re)load module if possible Warning: Could not load module yt6801. Any clues on what I might be missing? I'm not a hardcore Linux pro by any means, but I'm not a novice either. Any help would be much appreciated.
-
Do you get sound (HDMI) through your monitor speakers with the official vendor image?
-
https://fi.mirror.armbian.de/apt/pool/noble-utils/b/base-files/ They are in. Perhaps need some time for repo to get in sync.
-
Debian Trixie : rolling release when building armbian
robertoj replied to Stefal's topic in Raspberry Pi
Building a rolling release is more than just showing that in the MOTD. If you do "sudo apt upgrade" in an OS image you just built, you probably will have zero or one packages to upgrade. If you start with an image built a long time ago, or with packages defined a long time ago, then "sudo apt upgrade" would take a long time. -
H3 cedrus video acceleration, device tree problem?
robertoj replied to schunckt's topic in Allwinner sunxi
I have the same debian as you: 5.1.4-xxx-v4l2request, installed over Debian Bookworm, with Linux 6.15 (OS built by myself). When I tried the ffmpeg-7.x.x-v4l2request for Trixie, I could not get hardware acceleration. -
Hello, dear armbian community. I am using Orange Pi 5 plus, and I want to use kernel-6.16-5-edge-rockchip64 by armbian, as works much better than actual mainline (I have broken HDMI sound, buggy OpenGL, no power profiles) I, however, want to build kernel for different distro (OpenSUSE Tumbleweed, aka binpkg-rpm). Where do I get kernel sources to do this? (And is it the right place to ask this question?)
-
Building Custom Armbian FirmWare for BananaPi M2 Berry
Prana Cale replied to Calvin Ronksley's topic in Beginners
Banana Pi M2 Berry β My Advice This board is a pain. It canβt boot from SSD. An SSD can hit ~200 MB/s, but youβll need a strong 5 V power supply β especially at startup it often needs 3 A or more. If it refuses to boot (happened to me a lot), the cause was almost always a weak PSU. Other issues: the V40 SoC has almost no proper support and was never optimized. That means no real 3D acceleration β if it works at all, itβs unstable. Sound output often doesnβt work, HDMI audio basically never worked for me. Wi-Fi usually works, but only 2.4 GHz and WPA2 max. If you want more, youβll need a compatible USB stick β but even then youβre limited to ~15 MB/s because itβs just USB 2.0. If you want >100 MB/s, youβll need to use the LAN port and write to SSD. Forget doing that on the SD card. To be honest, almost nothing that came out after 2020 runs well as an OS on this thing. The official ISOs are here: π https://wiki.banana-pi.org/Banana_Pi_BPI-M2_Berry You can test them if you like β they all run βmehβ at best. As I said, 3D acceleration is rare, and when it exists itβs terrible. Another option to test: π https://docs.banana-pi.org/en/BPI-M2_Berry/BananaPi_BPI-M2_Berry For me, the best (and really the only sensible) choice right now: π https://sd-card-images.johang.se/boards/banana_pi_m2_berry.html But itβs pure/light β console only. You have to install everything else yourself. If youβve ever managed a root server, you know the path: tmux/screen for multi-window SSH, sudo apt install apache2 -y, MariaDB, mail server, SSL certificates (yes, free ones), dynamic DNS, Pi-hole, cronjobs, and so on. Everything works, but youβll need patience and some hand-holding (AI copilots can help). If you donβt have time for all that: get something better. Realistically, all you can use this board for today is as a shell server. Nothing else works properly. Honestly, even an old smartphone is a thousand times better. Thatβs why the M2 Berry was already dirt-cheap when I bought it in 2017 (β¬18 ππ©). Bottom line: The only sensible use is as a shell server. For anything else itβs useless β the drivers are crap, the V40 has almost no support. An old laptop or smartphone will serve you better (and it will run latest linux and 3d accel..) and by the way SPI or something like that can be also used over special boards/esp2066/esp32 and more ... And Banana Pi M2 Berry as an emulator? Forget about it ... PS: To write proper image files on Windows, I use Rufus or PowerISO (on Windows 11, UAC probably needs to be turned off). -
mxq pro 4k 5g allwinner h313 can't sd card boot
Sergey Lepeshkin replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
No, he's problem is much more simpler. He have JTAG and UART wired on his board, so it's not a problem to do virtually anything with his box. Are you sure? Have you successfully connected adb on PC to this tv box using usb cable? -
Installing armbian on Yundoo Y8 TV box (RK3399)
maka replied to FucusMeDeep's topic in Rockchip CPU Boxes
It is shown on internet how to get maskrom, serIal, and more. Also there is a clue that this box should start with firefly dtb but not stated exactly. Things are different from 1997 now and getting this working without experience is very difficult. With kernel 4.4 you could try with android dtb. -
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
@Sergey LepeshkinThank you, is there anyway to get it out and reveal the cpu (may fake, but worth trying) Also, i don't even know why they put a fake update screen on a fake tv box but i found a guy with same problem on me : I don't know what to do, my box does have the usb debugging and i will try to debug it -
i flashed the minimal image and its stuck on blue light please help
Igor replied to Aviad Korakin's topic in Radxa Rock 5B
Etcher used to be / is broken. https://docs.armbian.com/User-Guide_Getting-Started/#flash-to-sd-card https://docs.armbian.com/User-Guide_Troubleshooting/ -
Installing armbian on Yundoo Y8 TV box (RK3399)
SteeMan replied to FucusMeDeep's topic in Rockchip CPU Boxes
There are those of us that spend months working on these things. There is nothing about this that is easy. It is a hobby to waste a lot of time on. If you really wanted to proceed further you are really going to need to hook up to the debug serial port to get an ideal of the boot messages that are occuring. From an earlier post it looks like the serial connection points were identified and hooking up a USB serial adapter to them would give more information. But getting a random TV box working is usually a many month project as a lot needs to be learned about this while environment first. -
Installing armbian on Yundoo Y8 TV box (RK3399)
nobitakun replied to FucusMeDeep's topic in Rockchip CPU Boxes
Well, I've been tinkering with different dtb's and Armbian versions, matching kernel 4.4 and using H96 Max RK3399 dtb as well, but the device does nothing. In fact, I entered the recovery to see if the SD card could be read and it didn't mount, then turned the device off through the button and now it does not turn on anymore. The red light does not go blue, I can still enter maskrom but if I want to boot Android normaly the device does nothing. I am kind of tired with this crappy TV box, wasting 2 days it's not worth it for something that costed 15β¬. My time is more valuable. Thank you for the help anyways. -
Installing armbian on Yundoo Y8 TV box (RK3399)
nobitakun replied to FucusMeDeep's topic in Rockchip CPU Boxes
The dtb files I've tried for rk3399 do not work, I've read that Firefly-RK3399 is very similar to this board, but even so it does not start. The small Rockchip chip is very difficult to see through a picture, at least with my phone camera. I tried with this picture: Anyways, I can write it here: RK808-D FAD7P841 1703 -
mxq pro 4k 5g allwinner h313 can't sd card boot
Sergey Lepeshkin replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
I've managed to pull out some system files out of it. Binaries is ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), so its not Allwinner H313. -
Try to upgrade from 25.5.1 but base-files not present in repository. Missed again. @Igor can you fix it?
-
mxq pro 4k 5g allwinner h313 can't sd card boot
Sergey Lepeshkin replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
Hi! @Ducdanh Nguyen , which port have you used to connect it through adb? Those on the back side (where hdmi and power connectors located), or one of those on the right side (where sd card slot located)? Was it working in standard Android boot mode ("Debug over usb" enabled through "Developer settings") or somehow else? I also own such tv box and this is what I've found crawling web and playing with this device: 1. More PCB pics is here: https://4pda.to/forum/index.php?showtopic=1016510&view=findpost&p=136516719 2. "Heatsink" (just a small piece of thick aluminium foil) is bonded to SoC using 2-sided adhesive tape (I doubt it have good thermal conductivity). I recommend to replace it with more adequate heatsink. 3. SoC seems to be fake. It doesn't have Allwinner logo on it (there are 2 pics attached: one is ours, and one is genuine). 4. There is no AXP PMIC. Instead, there are 3 separate fixed step down converters. 5. There is no transformer in ethernet circuitry! Signals from jack goes directly to SoC. So be careful with static electricity while handling it's ethernet connection. 6. First button, located near "AV" jack, just resets tv box to factory defaults (if power switched on while it's pressed - and after that "update" screen with Chinese text on it will be shown). Purpose of second button (located near "S/PDIF" jack) is mystery for me. Can anyone suppose what it is for? 7. There are two exposed test points on the bottom side of pcb under SoC. Both tied through 10k resistors to +3.3V. After power-on, one of them seems to be some input (current between pin and gnd is about 3.3/10000=0.33mA), and other is definitely driven by something else (current is about 14mA and varying in both directions). I wonder if it's uart tx and rx pins - I'll see it with oscilloscope later. Anyway, shorting this test points together doesn't influence on boot process. 8. It's highly probable there is some backdoor (something like well-known Badbox 2.0). Original firmware exhibits some suspicious network behavior: just after factory reset, once it connected to network, it opens different connections to tcp port 12000 to hosts located in China. If I close outgoing traffic on firewall to tcp port 12000, after a while, it opens similar connections, but to port 9090 to different hosts. It seems to me it's trying to join some botnet. Furthermore, if you compare process list just after first (after factory reset) connection to network, and after it been connected for a while, you will find some new processes, which doesn't belong to Android and have strange names - I think it downloads something without asking user. Summary: this cheap tv box is a full scam. It seems to me manufacturer made all to prevent re-flashing of this device. But it will be very interesting to make something useful out of it. -
Debian Trixie : rolling release when building armbian
Stefal replied to Stefal's topic in Raspberry Pi
Regardless of which version I boot ("official" or home built with current) , the apt repositories are the same. And after I apt update && apt upgrade the "current" release, the "rolling" message disappears from the MOTD. I understand that I should not care of these MOTD messages, the meaning is not what I thought it was.