Jump to content

fayehoo

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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
  2. 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?
  3. For bionic without desktop version,not in GUI desktop,just in console.How to do that ,Pls help.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines