49 49
balbes150

Single Armbian image for RK + AML + AW (aarch64 ARMv8)

Recommended Posts

19 hours ago, balbes150 said:

write the result

I have Khadas Vim 3 PRO(4/32 A311D), can run any tests you are interested in, what should I check?

Spoiler

(Я имею Khadas Vim 3 PRO(4/32 A311D), могу провести любые интересующие вас тесты, что нужно проверить?)

 

Share this post


Link to post
Share on other sites

Has anyone been able to run any of the images from eMMC on a S912 device?

My device is T95U Pro running buster desktop from image Armbian_20.08.0_Arm-64_buster_current_5.7.0-rc7_desktop_20200531.img 

 

The image works perfectly well from SD card.

I am unable to setup eMMC to run this image using install-aml.sh.

 

I also noticed the partition table on the SD card and location specified in the script install-aml.sh are different.

image.png.4a4efbc779a00e4fb5865a6a232faaa5.png

 

install-aml.sh

image.png.f85a64455b329926b55cf3b6029fb544.png

When the script is run I can see only two partitions on /dev/mmcblk1.

After rebooting the device, all previous partition of Android stock image gets restored.

image.png.9485cf0f51b58913341afbe5accc674d.png

 

Am I missing something here?

 

Thank you for your help!

 

-R

 

Share this post


Link to post
Share on other sites
17 hours ago, vikoadi said:

Tried on Sway, lima is detected, but glxgears is glitchy and stutters. Also lima echo a lot of pp pp2 reset time out when running glxgears

Previous images have the same behavior, or is this only typical for the test image ? You can perform the same tests with the last "normal" images ?

 

To All

GPU frequency control is enabled in the test image. What should improve the behavior of the system at maximum loads (GPU frequency should be maximum and maximum performance) and at minimum loads (GPU frequency should be minimum and heat decreases). This information is necessary for Martin to assess that his patches do not break the work of other parts. Therefore, we need comparative results of the system behavior in the test image and in the normal image (what works or doesn't work in the test image compared to the normal image).

Temperature readings during tests are also desirable. To do this, launch the terminal and run the command (sudo armbianmonitor -m > test.txt) and perform a system operation check. Based on the results of work (tests) in the file test.txt information about the temperature during the test will be saved. And attach these files here.

Share this post


Link to post
Share on other sites
13 hours ago, Rajesh said:

After rebooting the device, all previous partition of Android stock image gets restored.

Either you have eMMC content replacement protection in your firmware, or you have NAND instead of eMMC.

Share this post


Link to post
Share on other sites
32 minutes ago, balbes150 said:

Either you have eMMC content replacement protection in your firmware, or you have NAND instead of eMMC.

 

The TV Box specs mentions:

image.png.d66778effa96f9f02e534a52ee88070d.png

 

I am able to restore the stock Android image 'T95U Pro 7.1.1 V1012 AP6522' using Amlogic USB Burning tool so I presume 'eMMC content replacement protection firmware' may not be the case in this instance.

 

I tried to change these commands in install-aml.sh as:

echo "Start restore u-boot"

dd if=/root/u-boot-default-aml.img of="${DEV_EMMC}" conv=fsync bs=1 count=446
dd if=/root/u-boot-default-aml.img of="${DEV_EMMC}" conv=fsync bs=512 skip=1 seek=1

 

Changed 442 to 446 and now I am not able to even see the device listed:

image.png.a8b262687ec9aff49524a8dddf0b5b71.png

 

Should I be looking at some other scripts boot.cmd etc?

 

Thanks

Rajesh

 

Share this post


Link to post
Share on other sites



Previous images have the same behavior, or is this only typical for the test image ? You can perform the same tests with the last "normal" images ?


It's always been like that. Never have a working opengl with lima.
Even on your Libreelec build, I have to disable Prime acceleration to not to crash the system.

Sent from my ASUS_X00TD using Tapatalk

Share this post


Link to post
Share on other sites
15 minutes ago, vikoadi said:

Even on your Libreelec build, I have to disable Prime acceleration to not to crash the system.

What and where do you disable ? If the app didn't work with OpenGL, you won't be able to launch the KODI interface. You may be disabling decoders for HW in the VPU, but this has nothing to do with the GPU.

Share this post


Link to post
Share on other sites
What and where do you disable ? If the app didn't work with OpenGL, you won't be able to launch the KODI interface. You may be disabling decoders for HW in the VPU, but this has nothing to do with the GPU.
Settings-->Player and enable "Allow hardware acceleration - PRIME".
Yeah, you're right, it's maybe the vpu

Sent from my ASUS_X00TD using Tapatalk

Share this post


Link to post
Share on other sites
8 minutes ago, vikoadi said:

Settings-->Player and enable "Allow hardware acceleration - PRIME".

This is hardware decoding of video files, it is not related to the lima (GPU).

Share this post


Link to post
Share on other sites
1 hour ago, balbes150 said:

This is hardware decoding of video files, it is not related to the lima (GPU).

I'm a little confuse, this build  Armbian_20.06.0_Arm-64_focal_current_5.7.6_desktop-TEST-GPU.img.xz enables hardware acceleration (GPU) or hardware video acceleration VPU (decoding)?

Because lima and panfrost was already working in the other build.  Just for quick curiosity because I'm at work, but I will try it at home! 

Share this post


Link to post
Share on other sites
4 minutes ago, dante6913 said:

I'm a little confuse, this build  Armbian_20.06.0_Arm-64_focal_current_5.7.6_desktop-TEST-GPU.img.xz enables hardware acceleration (GPU) or hardware video acceleration VPU (decoding)?

Because lima and panfrost was already working in the other build.  Just for quick curiosity because I'm at work, but I will try it at home! 

Ok its optimization on GPU hardware acceleration

Share this post


Link to post
Share on other sites

 

Thought I should just close the loop on this one. I tried this image on another Arm64 box 'Tanix TX3 mini' and it works like charm.

 

I was able to move the image to eMMC using install-aml.sh.

 

T95U Pro could possibly have some issue and needs further investigations.

 

@balbes150 If this has NAND and not eMMC, is there a workaround to create new partitions on the device. Thank you very much for useful tips.

 

--Rajesh

 

 

Share this post


Link to post
Share on other sites
42 minutes ago, Rajesh said:

If this has NAND and not eMMC, is there a workaround to create new partitions on the device

No. NAND is not supported.

Share this post


Link to post
Share on other sites
1 hour ago, Rajesh said:

 

@balbes150 If this has NAND and not eMMC, is there a workaround to create new partitions on the device. Thank you very much for useful tips.

 

--Rajesh

 

 

I've been considering for some time bootstrapping from sdcard but mounting the internal flash as root.
If the /data partition is big enough, you could rm * everything and copy partition 2 from the sdcard.
I'd assume the init script in /boot/uInitrd would need modifying as the root= argument in /boot/uEnv.txt APPEND= only accepts devices, uuid & labels (AFAIK).
Note putting single in uEnv.txt APPEND boots to a shell at runlevel 1 which may help debugging etc.

Share this post


Link to post
Share on other sites
1 minute ago, dbsharpe said:

I've been considering for some time bootstrapping from sdcard but mounting the internal flash as root.
If the /data partition is big enough, you could rm * everything and copy partition 2 from the sdcard.
I'd assume the init script in /boot/uInitrd would need modifying as the root= argument in /boot/uEnv.txt APPEND= only accepts devices, uuid & labels (AFAIK).
Note putting single in uEnv.txt APPEND boots to a shell at runlevel 1 which may help debugging etc.

 

Thank you for the inputs. I wish I could get some debug output, but box does not have a UART debug pins and I do not wish to mess with soldering etc as I have just borrowed it for testing. 

 

I created a disk image of sd card (the one with working image for T95U pro) using dd on an Ubuntu system, copied it to a USB and then tried to move that image to eMMC/NAND (whatever it is) using dd if=/mnt/sd.img of=/dev/mmcblk1 bs=1M status=progress. Unfortunately this did not help.

 

--Rajesh

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
49 49