

SteeMan
Moderators-
Posts
1840 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by SteeMan
-
You really should create a device tree overlay that just changes that attribute. The biggest downside of what you have done, is that every time you upgrade the linux kernel your change will be lost (as the new dtb file from that kernel will be installed) and you will need to redo this work with each upgrade.
-
how to enable wifi (SV6256P) in H616 DDR3 Tv box
SteeMan replied to Jain Ziad's topic in Allwinner CPU Boxes
moved -
You need to make sure that any disk IDs get updated to the new values for you target media. Look in your armbianEnv.txt file and possibly your /etc/fstab files. But in general to solve booting issues you will need a USB uart adapter to see what is happening during the boot process that is failing.
-
Installing Armbian on Vero 4k, does not boot from SD Card
SteeMan replied to patientgamer's topic in Amlogic CPU Boxes
Yes I had thought of that, that should work. -
Installing Armbian on Vero 4k, does not boot from SD Card
SteeMan replied to patientgamer's topic in Amlogic CPU Boxes
yes -
Installing Armbian on Vero 4k, does not boot from SD Card
SteeMan replied to patientgamer's topic in Amlogic CPU Boxes
All of this information is very helpful. Here is what you need to try. Look at the file aml_autoscript in your armbian /boot folder. This is the script that should get run when the reset button is pressed during poweron on a regular amlogic based android tv box. But since you now have access to the uboot console, you can enter these environment commands directly. If you start with the 'setenv bootcmd... and end with the 'saveenv' you will have modified the uboot environment to run armbian from sd or usb first, and then fall back to your other os on emmc. In looking at your current uboot environment, the only command that will be modified from what you have is the 'bootcmd'. In looking at what you have both the armbian and your current bootcmd fall back to run 'storeboot'. But by installing the armbian version you will loose the abiltiy to boot osmc from sd or usb, which you probably don't care about, but I thought I would mention it. -
tvbox mxq pro 4k 5g does not start arbian
SteeMan replied to iago Bomfim Santana's topic in Amlogic CPU Boxes
u-boot-s905x-s912 -
tvbox mxq pro 4k 5g does not start arbian
SteeMan replied to iago Bomfim Santana's topic in Amlogic CPU Boxes
That isn't the correct uboot to be using, and have you tried all of the s905w-* drb files? -
Odroid HC2 Should I Change armbianEnv.txt or boot.ini
SteeMan replied to MikeSmith's topic in Odroid XU4
You are using the minimal image which as the name implies has the bare minimum set of packages installed. -
Help with Installing Armbian on RK3328 TV Box (dnetSmart-YSE)
SteeMan replied to Alex M's topic in Rockchip CPU Boxes
The appropriate place for this question is in the existing thread for rk3328 tv boxes: -
Per the documentation: https://docs.armbian.com/User-Guide_Getting-Started/#how-to-login
- 188 replies
-
- MangoPi MQ Pro
- Sipeed Nezha
-
(and 1 more)
Tagged with:
-
@orlando mendez Those aren't Armbian official images. You would need to ask whomever produced those images for that information.
- 188 replies
-
- MangoPi MQ Pro
- Sipeed Nezha
-
(and 1 more)
Tagged with:
-
It this really is amlogic based, then start here: https://www.armbian.com/amlogic-s9xx-tv-box
-
I believe the G11 Pro has an Amlogic s905x3 processor, so moving to the appropriate forum.
-
I'm not sure there is a problem. It looks like this may be expected behavior. I think your board is a community supported device which means that by default it will be on the beta apt repository. There are new packages deployed to the beta apt repository daily. So depending on the settings you have for your apt updates if you have automatic updates enabled and reboot on kernel updates you will get a daily reboot. Some of this functionality for auto updates in armbian-config was just recently introduced.
-
moved to correct forum and added the proper tag
-
So good work so far. Since you don't provide specifics on what you have done (like the exact commands you are issuing in uboot to acheive your successfull boots) I can't provide specific answers. But I can provide general guidance (and it seems so far you can figure out the rest). So to get this to work from both sd and emmc and persist you need to dig into the whole mechanism some more. If you look at the contents of aml_autoscript file. This file should only need to be run once. It sets some uboot environment variables and then reboots. Those environment variable values should be persistent and should on subsequent boots change the boot flow to allow armbian to boot from sd, usb or emmc. So I'd suggest looking at your uboot environment, print out the values of the relevant variables in your environment and see what isn't set correctly, or is missing. Then try to fix. The intended boot flow is to determine sd, usb or emmc and then run the boot script s905_autoscript or emmc_autoscript accordingly which should then load u-boot.ext/u-boot.emmc and run from their whatever is configured in extlinux.conf. You said earlier that you didn't have an u-boot.emmc on your emmc boot partition, which would explain why it wasn't booting. install_aml.sh should have created that if it was run correctly. Of course u-boot.ext/u-boot.emmc are just copies of the u-boot-s9xxxxx files, so what you seem to be doing in calling them directly also works, but isn't what the scripts are expecting. I hope these pointers help you on your adventure.
-
There should be a uInitrd file which is the initrd.img... file converted to the uboot format. You should try that. I would recommend trying the command I posted above which chainloads the u-boot.ext file, which will then just boot from the extlinux.conf file. The u-boot.ext is a newer version of uboot that should be more compatible with a modern mainline linux image (at least that is the idea).
-
If you can get to the uboot prompt you can try to manually boot the system. What should be happening when you boot from emmc is that the native android uboot should run the following command: if fatload mmc 1 0x1000000 u-boot.emmc; then go 0x1000000; fi; (that command assumes that you boot partition is partition 1, the "fatload mmc 1") It should load the u-boot.emmc file in your /boot. The installation via install_aml.sh should have renamed your u-boot.ext to u-boot.emmc. Then the loaded u-boot.emmc should look for your /boot/extlinux/extlinux.conf file and boot accordingly. If you have command line uboot access you can look at your two partitions and see if they look like they contain the proper files, especially the contents of your /boot partition. The above 'if fatload...' command is just a shortcut to what should be happening. If you want to follow the whole series of logic, you start with the aml_autoscript file. This file should be loaded by u-boot when the reset button is pressed during boot. The contents of this file set some u-boot environment variables that upon subsequent boots should boot from SD, USB or emmc if they find a u-boot.ext (or u-boot.emmc) and if not continue to try to do a normal android boot. In the emmc case, the boot should run the emmc_autoscript file which contains the above 'if fatload...'. I hope this helps you explore the boot process and maybe you can figure out a way to get your box booting armbian again.
-
I guess I don't know what you are asking. Are you using an off the shelf USB-A to USB-A cable? Or are you building your own cable?