Janaboy Posted July 27, 2019 Share Posted July 27, 2019 5 minutes ago, balbes150 said: Restore the stock Android firmware. Run Armbian from external media and show the output of 'fdisk -l' command. Can it be solved without deleting my armbian? I've installed lot if things, i dont want to loose them What if i burn the u-boot img from the stock rom into emmc? Like it is on the sd card? Link to comment Share on other sites More sharing options...
talraash Posted July 27, 2019 Share Posted July 27, 2019 36 minutes ago, tim-timmy said: Hi, What steps did you use to have it working on h96max2 ? I burned a lot of different images to SD card, changed to all possible g12 DTBs, but each time I go to the update section and select the aml_update.zip from the card, it reboots, tries to load it, and fails with a broken android robot and just "Error!". It then reboots again on the android. Mine is flashed with android 9 (from https://mega.nz/#F!enh1kIYD!FdtiQoEO0V4awyrEZRwUew from https://www.h96tvbox.com/content/6-Firmware-upgrade ), could it be the issue ? I read that some were using ddr3 instead of ddr4, how could I check this ? Just write image, change dtb x96-max-rmii and run box with reset button in av. Link to comment Share on other sites More sharing options...
tim-timmy Posted July 27, 2019 Share Posted July 27, 2019 7 hours ago, talraash said: Just write image, change dtb x96-max-rmii and run box with reset button in av. Exactly what I'm doing. I tried with another SD card and a USB key, same result, just error and reboot on android ... No idea what I could do to diagnose the issue. Link to comment Share on other sites More sharing options...
balbes150 Posted July 28, 2019 Author Share Posted July 28, 2019 18 hours ago, Janaboy said: Can it be solved without deleting my armbian? I've installed lot if things, i dont want to loose them What if i burn the u-boot img from the stock rom into emmc? Like it is on the sd card? You can make a backup of the entire root system and after u-boot recovery, deploy it back. When restoring u-boot will not clear the partition table (MBR), it will require you to perform a clean installation of Armbian (with a subsequent recovery is made of the copy in the created partition EXT4). Link to comment Share on other sites More sharing options...
fonix232 Posted July 29, 2019 Share Posted July 29, 2019 Hey Balbes150, First of all, thanks for all the hard work getting mainline up and running on the Odroid N2! I'm using your latest unified gl12 non-desktop image, and it works wonderfully, with a few odd quirks. Networking is a bit... Weird. I had to wipe the NetworkManager configs 4 times just to get the same config to stick between reboots. Setting the MAC address from the startup arguments did not work (as described in the original post), and NetworkManager only accepted it properly once I did the change from Cockpit (which is a great web server management tool, I can only recommend it). However the network config, even this way, is often dropped after a reboot, even though the config file exists in /etc/NetworkManager/system-connections... Rebooting takes ages - up to 10 minutes, for some reason, and sometimes requires a full-on power cycle (pulling the PSU for 5 minutes from the board). Link to comment Share on other sites More sharing options...
balbes150 Posted July 29, 2019 Author Share Posted July 29, 2019 1 hour ago, fonix232 said: I'm using your latest unified gl12 non-desktop image, 1 hour ago, fonix232 said: I had to wipe the NetworkManager non-desktop image = SERVER ? As far as I remember, there is no NetworkManager in the server image. 1 hour ago, fonix232 said: Rebooting takes ages - up to 10 minutes, for some reason, and sometimes requires a full-on power cycle (pulling the PSU for 5 minutes from the board). What media is used ? Which u-boot option is used (where does the - SPI or SD\eMMC switch point) ? Link to comment Share on other sites More sharing options...
Janaboy Posted July 29, 2019 Share Posted July 29, 2019 On 7/28/2019 at 9:58 AM, balbes150 said: You can make a backup of the entire root system and after u-boot recovery, deploy it back. When restoring u-boot will not clear the partition table (MBR), it will require you to perform a clean installation of Armbian (with a subsequent recovery is made of the copy in the created partition EXT4). Trying to figure out how to make backup, not that expert.. Link to comment Share on other sites More sharing options...
Incognitus Posted July 29, 2019 Share Posted July 29, 2019 Hey guys ! I was trying to do everything as @balbes150 said, but I think I did something wrong. So I don't have default rom on x96, I deleted it and installed custom one called "ATVXperience", but it still had "update from local drive" option. So I had a ready armbian flash drive. I booted up my tv box, then opened update tab, selected aml....zip. It went rebooting for a few sec and then stuck on a loading screen. Without usb stick it loads rom normally, but when I try to boot box with usb stick, it just stucks on loading screen. Did someone face that kinda problem ? Link to comment Share on other sites More sharing options...
Janaboy Posted July 29, 2019 Share Posted July 29, 2019 On 7/27/2019 at 3:20 PM, balbes150 said: Restore the stock Android firmware. Run Armbian from external media and show the output of 'fdisk -l' command. Attached fdisk-l.txt Link to comment Share on other sites More sharing options...
fonix232 Posted July 29, 2019 Share Posted July 29, 2019 10 hours ago, balbes150 said: non-desktop image = SERVER ? As far as I remember, there is no NetworkManager in the server image. What media is used ? Which u-boot option is used (where does the - SPI or SD\eMMC switch point) ? Hmm, weird, OOTB the server image did come with NetworkManager (Cockpit is capable of managing network interfaces through ifupdown and the usual networks config as well). I'm using a 32GB eMMC with direct boot, no SPI. Link to comment Share on other sites More sharing options...
balbes150 Posted July 30, 2019 Author Share Posted July 30, 2019 14 hours ago, Janaboy said: Trying to figure out how to make backup, not that expert.. Start the system from external media, mount the EMMC partition with the data, and run a simple package command to the TAR archive (or tar.gz) 13 hours ago, Janaboy said: Attached eMMC Disk /dev/mmcblk0: 14.5 GiB, 15518924800 bytes, 30310400 sectors 12 hours ago, fonix232 said: OOTB the server image What exactly is the version of the Armbian image ? 12 hours ago, fonix232 said: I'm using a 32GB eMMC with direct boot, no SPI. I have not checked the eMMC, Noa SD card or USB flash drive system restarts without problems. Link to comment Share on other sites More sharing options...
Janaboy Posted July 30, 2019 Share Posted July 30, 2019 1 hour ago, balbes150 said: eMMC Disk /dev/mmcblk0: 14.5 GiB, 15518924800 bytes, 30310400 sectors Yes, but how this help me to solve the issue with the missing u-boot? Link to comment Share on other sites More sharing options...
fonix232 Posted July 30, 2019 Share Posted July 30, 2019 4 hours ago, balbes150 said: What exactly is the version of the Armbian image ? 5.91, your latest build from 0724. Ubuntu Disco server image. 4 hours ago, balbes150 said: I have not checked the eMMC, Noa SD card or USB flash drive system restarts without problems. I restart without problem as well, it just takes... Long. About 10 minutes. The device is picked up on the network immediately, however the services (e.g. SSH, Cockpit) actively refuse connection up to around 10 minutes after boot. Sometimes it's faster (up in 30-40 seconds with a full reboot), sometimes it's slow-ish (3-5 minutes for a full boot), but most of the time takes 8-10 minutes. Link to comment Share on other sites More sharing options...
balbes150 Posted July 30, 2019 Author Share Posted July 30, 2019 3 hours ago, Janaboy said: Yes, but how this help me to solve the issue with the missing u-boot? If you are not familiar with unpacking firmware (that would pull out of it ready u-boot for eMMC), you'd better use standard USB tools Burn Tool to restore the working firmware. 23 minutes ago, fonix232 said: I restart without problem as well, it just takes... Long. About 10 minutes. The device is picked up on the network immediately, however the services (e.g. SSH, Cockpit) actively refuse connection up to around 10 minutes after boot. Sometimes it's faster (up in 30-40 seconds with a full reboot), sometimes it's slow-ish (3-5 minutes for a full boot), but most of the time takes 8-10 minutes. By default, the system checks for updates, try disabling it and performing updates manually. Link to comment Share on other sites More sharing options...
Janaboy Posted July 30, 2019 Share Posted July 30, 2019 14 minutes ago, balbes150 said: If you are not familiar with unpacking firmware (that would pull out of it ready u-boot for eMMC), you'd better use standard USB tools Burn Tool to restore the working firmware. Wait I guess this conversation went into a wrong way I have restored the Android and sent you the requested fdisk -l result. My issues is that after using the install.sh it is not able to boot Armbian from eMMC only if i use a recovery sd (which only contains an u-boot). This is where the log has been provided from the console. So the question how can i restore the u-boot to able to boot from eMMC without using the SD Card? I was able to unpack the original firmware image and i have the u-boot if that is help. But not sure what is the exact way to solve this. Thanks Link to comment Share on other sites More sharing options...
asyscom Posted July 30, 2019 Share Posted July 30, 2019 Hello, I have a beeling gt1 2gb ram s912 purchased about 2 years ago. I'm trying various versions of armbian but I can't seem to find the right one. I unlocked the dual boot but practically no version of the boot (red beelink logo remains), only a couple of older versions boot, they come to the login but unfortunately the USBs are not recognized and I can't use the keyboard. Could anyone help me? Thanks in advance David Link to comment Share on other sites More sharing options...
balbes150 Posted July 30, 2019 Author Share Posted July 30, 2019 2 hours ago, Janaboy said: I guess this conversation went into a wrong way I have restored the Android and sent you the requested fdisk -l result. My issues is that after using the install.sh it is not able to boot Armbian from eMMC only if i use a recovery sd (which only contains an u-boot). This is where the log has been provided from the console. So the question how can i restore the u-boot to able to boot from eMMC without using the SD Card? I was able to unpack the original firmware image and i have the u-boot if that is help. But not sure what is the exact way to solve this. Show the output UART of commands from u-boot (printenv) before and after installation. Link to comment Share on other sites More sharing options...
Janaboy Posted July 30, 2019 Share Posted July 30, 2019 2 hours ago, balbes150 said: Show the output UART of commands from u-boot (printenv) before and after installation. Okay i have created lot of logs, i hope this will help. uart-android boot.txt install.sh output.txt uart-armbian-external boot.txt after install.sh.txt armbian emmc boot with recovery sd card with uboot from the android img.txt Link to comment Share on other sites More sharing options...
balbes150 Posted July 31, 2019 Author Share Posted July 31, 2019 14 hours ago, Janaboy said: Okay i have created lot of logs, i hope this will help. According to the logs, u-boot does not support installing a new kernel in the eMMC. 1 Link to comment Share on other sites More sharing options...
Janaboy Posted July 31, 2019 Share Posted July 31, 2019 2 hours ago, balbes150 said: According to the logs, u-boot does not support installing a new kernel in the eMMC. That means it will never work? Link to comment Share on other sites More sharing options...
asyscom Posted July 31, 2019 Share Posted July 31, 2019 20 hours ago, asyscom said: Hello, I have a beeling gt1 2gb ram s912 purchased about 2 years ago. I'm trying various versions of armbian but I can't seem to find the right one. I unlocked the dual boot but practically no version of the boot (red beelink logo remains), only a couple of older versions boot, they come to the login but unfortunately the USBs are not recognized and I can't use the keyboard. Could anyone help me? Thanks in advance David today i continued to try different versions of dtb without success, the oly dtb that boot is meson-gxl-s905x-khadas-vim.dtb but no usb detected Link to comment Share on other sites More sharing options...
Reddwarf Posted July 31, 2019 Share Posted July 31, 2019 FYI there is a bug (missing dependency) in Ubunto 19.x Disco with xfce4 which leads to an issue starting programs from the menu. It can be fixed with: sudo apt install libexo-1-0 and things work as expected again Link to comment Share on other sites More sharing options...
balbes150 Posted August 1, 2019 Author Share Posted August 1, 2019 21 hours ago, Janaboy said: That means it will never work? You can try two options. 1 look For a firmware version where u-boot will be able to install to eMMC (maybe even older versions with Android 6\7\8 will be better). 2. Try to test the new u-boot-2019 for gxbb models, but it is potentially dangerous to get a brick with recovery only through the contact closure on the eMMC. Link to comment Share on other sites More sharing options...
Reddwarf Posted August 1, 2019 Share Posted August 1, 2019 @balbes150: Is the source on Github always up-to-date with the latest image you have released? And once downloaded, will the source automagically update itself each time it is compiled? Link to comment Share on other sites More sharing options...
balbes150 Posted August 2, 2019 Author Share Posted August 2, 2019 New image 5.91_20190801. Fixed displaying of information about the frequency of cores for the g12. add image dev for g12 (kernel 5.3.0) 1 Link to comment Share on other sites More sharing options...
balbes150 Posted August 2, 2019 Author Share Posted August 2, 2019 16 hours ago, Reddwarf said: Is the source on Github always up-to-date with the latest image you have released? No 16 hours ago, Reddwarf said: And once downloaded, will the source automagically update itself each time it is compiled? If the corresponding option is enabled Link to comment Share on other sites More sharing options...
balbes150 Posted August 2, 2019 Author Share Posted August 2, 2019 Version 5.91_20190802. Added thermal control for g12 Link to comment Share on other sites More sharing options...
Reddwarf Posted August 2, 2019 Share Posted August 2, 2019 9 hours ago, balbes150 said: No If the corresponding option is enabled And where/how is that option enabled? Link to comment Share on other sites More sharing options...
Tommy21 Posted August 2, 2019 Share Posted August 2, 2019 Sorry guys, haven't been here for a while.I've seen new images are tagged as g12, so this is s905x2 family, can you tell me what do i need to do to make it run on s905x, as i remember i need to edit uenv.ini file?I never needed to do that because i have vim1, and armbian images were using vim dtb as default. Link to comment Share on other sites More sharing options...
Reddwarf Posted August 3, 2019 Share Posted August 3, 2019 8 hours ago, Tommy21 said: Sorry guys, haven't been here for a while. I've seen new images are tagged as g12, so this is s905x2 family, can you tell me what do i need to do to make it run on s905x, as i remember i need to edit uenv.ini file? I never needed to do that because i have vim1, and armbian images were using vim dtb as default. AFAIK these are universal images, just edit uEnv.ini to point to the correct DTB (or extlinux.ini). Link to comment Share on other sites More sharing options...
Recommended Posts