-
Posts
25 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I think this is @Igor's signing key aml-s9xx-box:~:# gpg --keyserver keyserver.ubuntu.com --recv-keys 93D6889F9F0E78D5 gpg: key 93D6889F9F0E78D5: 1 duplicate signature removed gpg: key 93D6889F9F0E78D5: public key "Igor Pecovnik <igor@armbian.com>" imported gpg: Total number processed: 1 gpg: imported: 1
-
Is it possible to boot Armbian from SD card only?
Jens J. replied to temporary_name's topic in Amlogic CPU Boxes
So when writing the u-boot to SD card, you need to follow a special process to "skip" over some bytes to prevent trashing the partition table. see https://www.cnx-software.com/2016/11/19/how-to-create-a-bootable-recovery-sd-card-for-amlogic-tv-boxes/ TLDR, something like: sudo umount /dev/sdX* sudo dd if=aml_sdc_burn.UBOOT of=/dev/sdX bs=1 count=442 sudo dd if=aml_sdc_burn.UBOOT of=/dev/sdX seek=1 skip=1 bs=512 sync -
Armbian on Box K12 Bqeel / Mini M8S pro C (S912)
Jens J. replied to RuDy_74's topic in Amlogic CPU Boxes
Have you tried `/boot/dtb/amlogic/meson-gxm-mini-m8s-pro.dtb` ? What is wifi chip? Is it LTM8830? If so this is QCA9377 clone, and this dtb should be fully working. -
afaik, if your box had /dev/mmcblk1, assuming that's the internal storage (and not the sd card), then I believe it means your unit has emmc, not just raw nand. this has a nice explanation of emmc vs nand - TLDR: emmc has mmc controller on top of raw nand storage, making it easier to present the storage to the OS/kernel. With only raw nand, the kernel has to have the drivers in-tree to understand how to talk to the nand chip and handle all of the concerns to present it as a block device. https://www.toradex.com/blog/what-you-should-know-about-flash-storage regardless, glad you got it sorted out
-
wifi can be a tricky thing you need to identify what wifi chip it's using you could open up the box and look at the wifi module on the board, or you could grab a boot log from serial console output from original android installation, or you could try to run `lsusb` to see if there are any obvious usb-based wifi adapter VID/PIDs there (e.g. realtek, etc) If it's not usb internally-connected wifi module, then likely the module may be connected to internal SDIO bus, which I think will require custom dts to modify and produce a dtb which tells the kernel where to find the wifi adapter. (This usually involves dumping/grabbing the original dtb on the box, which is usually flashed to a particular amlogic partition, and then inspecting it, and hand translating it to modern devicetree - as steeman mentioned, all the android-based images use an ancient 3.x custom, vendor provided kernel, with very vendor specific devicetree features. Modern kernels use a different set of devicetree syntaxes. Then you have to make sure you have the right wifi driver installed/available. Then you have to make sure you have the right firmware installed/available (as most of these wifi modules require soft-loading firmware at boot). root@onecloud:~# lsusb Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-
Does that image contain an s805_autoscript and/or aml_autoscript file at the root of the sdcard? Here's a copy of mine for an MXQ model (note that in my uEnv.txt, it uses a custom m201 dtb) If that doesnt work, then you'll need to get access to serial console to see what the stock uboot is doing, and what sdcard (mmc) files it's looking for on boot. armbian_s805_boot_files.zip
-
-
how exactly did you format the emmc? (what commands?) did you follow the install guide, and use `install-aml.sh` (which preserves the boot block on emmc, keeping the old uboot to chainload into new uboot with) ?
-
correct, unfortunately, some tvbox manufacturers have opted to use cheaper nand flash, rather than emmc-compatible flash, which is supported. Using nand flash directly requires additional support in the bootloader and kernel, which do not currently exist. (There has been _some_ work in the kernel on this, but it's nowhere near finished.) TLDR, you only be able to install to internal flash if it's eMMC.
-
How did you "install"? via armbian-config install (not for armbian tv boxes) or /root/install-aml.sh (specially made for board type "aml-s9xx-box") ? Did you try booting off of the armbian sd card again (holding the reset button for 7 seconds while powering up)? First thing to do when you think you might have "bricked" a board is to get serial console access on it so you can see what's actually going on, e.g. using a usb uart adapter connected to the serial port header (the four unpopulated pins, specifically: TX, RX, GND). With amlogic and the way armbian installs, the stock amlogic uboot is likely still there, and something else can be loaded from it (via usb, sd, etc).
-
Beelink GT1 Ultimate, S912, wifi chip QCA9377 wifi "partially" works.
Jens J. replied to bthoven's topic in Amlogic CPU Boxes
ok thanks @SteeMan I see armbian-firmware is around 16MB vs 300+MB of armbian-firmware-full. Luckily, I don't think the firmware has changed on the QCA9377 much since 2020's commit. I do see your point though. Is there some way to have the armbian-firmware build process dynamically pull the latest from upstream kernel for the selected drivers/sections, without doing the whole "kitchen sink" approach of armbian-firmware-full, which is a bit excessive for some devices with limited storage? Regarding learning, I'm using what you started with config/boards/aml-s9xx-box.tvb and adapting this to a new board type (mini-m8s-pro.tvb), along with adding dts at patch/kernel/meson64-edge/dt/meson-gxm-mini-m8s-pro.dts If there is further documentation on this process of adding new board support, especially around the amlogic flavors, to better guide me, I'd be happy to check that out -
Beelink GT1 Ultimate, S912, wifi chip QCA9377 wifi "partially" works.
Jens J. replied to bthoven's topic in Amlogic CPU Boxes
deleted -
Beelink GT1 Ultimate, S912, wifi chip QCA9377 wifi "partially" works.
Jens J. replied to bthoven's topic in Amlogic CPU Boxes
ok the QCA9377/LTM8830 firmwares added to armbian-firmware https://github.com/armbian/firmware/pull/63 With this newer firmware package, the wifi should work. Bluetooth will need the change in the DTS. I'm working on a PR for armbian/build repo to add DTS for this variant, which I think is called "mini-m8s-pro" Basically a Beelink GT1 ultimate dts with LTM8830 (QCA9377) wifi/bluetooth, which will look like this: https://gist.github.com/zerog2k/a702a41fe91f52b07c2e53e4f359f580#file-meson-gxm-mini-m8s-pro-dts-L85-L86 -
I think Meson8b is S805 (armhf, not arm64) try BOARD_TYPE=onecloud