Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Which install-emmc file should be choosed?

Featured Replies

There are two install emmc files in armbian amlogic verison by balbes150.  install-aml.sh and install-aml-s905-emmc.sh.

What's the difference between these? If install armbian to a S912 TVbox emmc, which one should be choosed?

Can you please post the content of both the files?

I am not sure so it will be better to read the content and understand what it is trying to do,

 

AFAIK I have been using the latest iteration of the install script which includes support for RGB YUV for aml devices which have green screen issue.

 

 

  • Author

diff -u  install-aml.sh install-aml-s905-emmc.sh | colordiff
--- install-aml.sh      2020-07-23 10:47:15.088753970 +0000
+++ install-aml-s905-emmc.sh    2020-07-23 10:47:15.096757969 +0000
@@ -47,19 +47,12 @@
 echo $DEV_EMMC

 echo "Start backup u-boot default"
+dd if="${DEV_EMMC}" of=/root/u-boot-default-aml-s905.img bs=1M count=4

-dd if="${DEV_EMMC}" of=/root/u-boot-default-aml.img bs=1M count=4
-
-echo "Start create MBR and partittion"
-
-parted -s "${DEV_EMMC}" mklabel msdos
-parted -s "${DEV_EMMC}" mkpart primary fat32 700M 1212M
-parted -s "${DEV_EMMC}" mkpart primary ext4 1213M 100%
-
-echo "Start restore u-boot"
-
-dd if=/root/u-boot-default-aml.img of="${DEV_EMMC}" conv=fsync bs=1 count=442
-dd if=/root/u-boot-default-aml.img of="${DEV_EMMC}" conv=fsync bs=512 skip=1 seek=1
+if [ -f /root/u-boot/u-boot-s905/u-boot.img ] ; then
+    echo "Start install u-boot to eMMC"
+    dd if=/root/u-boot/u-boot-s905/u-boot.img of="${DEV_EMMC}"
+fi

 sync

@@ -98,16 +91,10 @@
  -i "$DIR_INSTALL/uEnv.txt"
 echo "done."

-rm $DIR_INSTALL/s9*
+#rm $DIR_INSTALL/s9*
 rm $DIR_INSTALL/aml*
 rm $DIR_INSTALL/boot.ini
-mv -f $DIR_INSTALL/boot-emmc.scr $DIR_INSTALL/boot.scr
-
-if [ -f /boot/u-boot.ext ] ; then
-    mv -f $DIR_INSTALL/u-boot.sd $DIR_INSTALL/u-boot.emmc
-    mv -f $DIR_INSTALL/boot-emmc.ini $DIR_INSTALL/boot.ini
-    sync
-fi
+#mv -f $DIR_INSTALL/s905_emmc_autoscript $DIR_INSTALL/s905_autoscript

 umount $DIR_INSTALL

  • Werner locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.