cubietrucktw Posted February 22, 2017 Posted February 22, 2017 Hey i tried to install the armbian to my cubietruck. The copy to the SD card works and i can start the cubietruck. Now i will not uns anymore the sd card so i will copy it to the emmc. Now my problem: When i start nand-sata-install i can only use motion number 3. Whats wrong? On the emmc is an old system
Igor Posted February 22, 2017 Posted February 22, 2017 Whats wrong? On the emmc is an old system Nothing is wrong. There are no (stable) drivers for "eMMC" (NAND) in a kernel that you are trying to use. NAND on Cubietruck is slower and more prone to crash than a modern SD card.
cubietrucktw Posted February 22, 2017 Posted February 22, 2017 Ok Thank you. That was the answer of my question.
mrmulti Posted July 11, 2017 Posted July 11, 2017 I installed armbian to my emmc using the nand-sata-install command - after that none of my chrome apps work. even if i boot from SD card chrome just flashes and goes away. also the chromium diags crash. however all other apps seem to work. Even net beans seems to run well. What can i do to get a browser working?
Igor Posted July 11, 2017 Posted July 11, 2017 We use memory for profile caching and I guess all this caching should be synced to SD card or disabled before installing to eMMC. I would label this as a bug.
mrmulti Posted July 11, 2017 Posted July 11, 2017 but firefox seems to work fine ...? i have since installled that . also i noticed in some examples, the armbian-config allows you to boot from emmc but work from sd, but i don't see that option on mine. Plus when booting from the sd now, chrome still does not work. is it possible that the lastest chrome update is bad?
zador.blood.stained Posted July 11, 2017 Posted July 11, 2017 32 minutes ago, mrmulti said: is it possible that the lastest chrome update is bad? https://forum.armbian.com/index.php?/topic/4668-chromium-browser-fails-to-launch/
ratadp Posted August 10, 2017 Posted August 10, 2017 Maybe this is reopen an old post. But I need the help. I just bought a NanoPi M1 Plus. I'm using armbian in a SD since I bought it. But now I need to install the OS in the eMMC. I read all this topic and tried everything what is posted here but I have no luck to boot from the eMMC. I read the post about Orange Pi Plus Also (https://forum.armbian.com/index.php?/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/&do=findComment&comment=13163) The ARMBIAN is ARMBIAN 5.31 stable Ubuntu 16.04.3 LTS 3.4.113-sun8i Kernel: Linux nanopim1plus 3.4.113-sun8i My first try was just with the command root@nanopim1plus:~# nand-sata-install - Boot from eMMC - system on eMMC root@nanopim1plus:~# shutdown now Then I removed the MicroSD and the NanoPi didn't powered on. Any led was turned on. So I put the SD again and works perfect. I checked the mount point and it was the SD. adm720@nanopim1plus:~$ mount | grep "on / " /dev/mmcblk0p1 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600) Then, after looking for more information I saw this post. So I checked the u-boot version, and put the ubootsunxi from this post https://forum.armbian.com/index.php?/topic/1070-install-to-emmc/&do=findComment&comment=8733 adm720@nanopim1plus:~$ apt-cache show linux-u-boot-nanopim1plus-default Package: linux-u-boot-nanopim1plus-default Priority: optional Section: kernel Installed-Size: 1 Maintainer: Igor Pecovnik <igor.pecovnik@****l.com> Architecture: armhf Version: 5.31 Replaces: armbian-u-boot Provides: armbian-u-boot Conflicts: armbian-u-boot, u-boot-sunxi Filename: pool/main/l/linux-u-boot-nanopim1plus-default/linux-u-boot-nanopim1plus_5.31_armhf.deb Size: 161282 MD5sum: 5bea2da104995d66ca4e0d961745aaf0 SHA1: 22e70eab4de210cb7fe299bfd9acbf91b7aaa536 SHA256: e81f5d63351073a0347103e5a2ecdc99964bba4987c94b75c31af6f31d4222a5 SHA512: 40cc20e1c243792615a1e74d3f298b0f5b95ac727ccd557ac28dfeccbf764ad8d1793085709789159400c92f6e8f0949a56ab628d227e7853b30a173818aedb2 Description: Uboot loader 2017.05 Description-md5: 5b485683dfb12e42771782964c9ccc2e root@nanopim1plus:# sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk1 bs=1024 seek=8 root@nanopim1plus:# nand-sata-install Boot from eMMC - system on eMMC But another time the same. After shutting down, removed the SD and then powered up again, no led blinking and no link on eth. Read more and found the post about the orange pi. So let's try. root@nanopim1plus:# nand-sata-install Boot from eMMC - system on eMMC # Reboot with SD root@nanopim1plus:# cp /boot/script.bin /boot/script.bak root@nanopim1plus:# bin2fex /boot/script.bin /tmp/script.fex root@nanopim1plus:# vi /tmp/script.fex # Search scd_detmode = 3 and change to 1 root@nanopim1plus:# fex2bin /tmp/script.fex /boot/script.bin root@nanopim1plus:# shutdown now I removed the sd and then I powered up the nanopi again but what happend? Nothing again. Is there any guide or are there any faulty package that it is disabling me to boot from the eMMC? Thanks!
avlev Posted August 14, 2017 Posted August 14, 2017 I use armbian orange pi plus debian image for my nanopi m1 plus. Nand-sata-install work correctly. Wifi, ethernet, sound and gpio is ok. I think armbian ubuntu will work too.
ratadp Posted August 14, 2017 Posted August 14, 2017 12 hours ago, avlev said: I use armbian orange pi plus debian image for my nanopi m1 plus. Nand-sata-install work correctly. Wifi, ethernet, sound and gpio is ok. I think armbian ubuntu will work too. Did you download only the orange pi plus image and did an "nand-sata-install" or did you install the nanopi m1plus imagen and then you installed the uboot image from orange pi as they do in this post?? (https://forum.armbian.com/index.php?/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/&do=findComment&comment=13163) Thanks
jimg Posted August 14, 2017 Posted August 14, 2017 I have an orange pi plus 2e with Debian 8 installed on the eMMC. I wanted to upgrade to Debian 9, so I downloaded the Debian Jessie server version of Armbian, put it on an SD card, changed /etc/apt/sources.list to point to Debian Stretch, uninstalled network-monitor and set the networking configuration by hand. Seems to be working OK, so now I'm trying to install it to the eMMC. But when I run 'sudo nand-sata-install', I get the following errors after it formats the disk to ext4: mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. and the error dialog box reports: Partition too small. Needed: 2615 Mb Avaliable: Mb dmesg | tail returns: EXT4-fs (mmcblk1p1): couldn't mount RDWR because of unsupported optional features (400) Any idea what's happening? When I check mmcblk1 using fdisk, the disk looks to be partitioned properly (14.4 G 83 Linux).
Igor Posted August 15, 2017 Posted August 15, 2017 8 hours ago, jimg said: EXT4-fs (mmcblk1p1): couldn't mount RDWR because of unsupported optional features (400) Any idea what's happening? When I check mmcblk1 using fdisk, the disk looks to be partitioned properly (14.4 G 83 Linux). Try to format and mount it by hand.
Da Alchemist Posted August 15, 2017 Posted August 15, 2017 The eMMC Error on the Orangepi looks familiar to me. Got this on an Orangepi PC+ and never found the error. The Pi is working up today, eMMC is formatted in extf3 now. Take a look here.
avlev Posted August 15, 2017 Posted August 15, 2017 17 hours ago, ratadp said: Did you download only the orange pi plus image and did an "nand-sata-install" or did you install the nanopi m1plus imagen and then you installed the uboot image from orange pi as they do in this post?? (https://forum.armbian.com/index.php?/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/&do=findComment&comment=13163) Thanks I used orange pi plus image and did an "nand-sata-install". Everything works perfectly.
avlev Posted August 15, 2017 Posted August 15, 2017 19 hours ago, ratadp said: Did you download only the orange pi plus image and did an "nand-sata-install" or did you install the nanopi m1plus imagen and then you installed the uboot image from orange pi as they do in this post?? (https://forum.armbian.com/index.php?/topic/1702-orange-pi-plus-2e-where-is-16ghz-and-sd/&do=findComment&comment=13163) Thanks Today I tried to compile image for nanopi m1 plus and nand-sata-install works! https://docs.armbian.com/Developer-Guide_Build-Preparation/ nanopim1plus.conf has already been corrected: BOOTCONFIG="nanopi_m1_plus_defconfig"
jimg Posted August 15, 2017 Posted August 15, 2017 7 hours ago, Igor said: Try to format and mount it by hand. I can format it, but when I attempt to mount it by hand using the method in the create_armbian function of nand-sata-install , it fails: $ sudo mkdir -p /mnt/rootfs /mnt/bootfs $ sudo mount /dev/mmcblk1p1 /mnt/rootfs mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. FWIW, I can confirm what Da Alchemist experienced--ext3 works, but not ext4.
ratadp Posted August 17, 2017 Posted August 17, 2017 On 15/8/2017 at 1:27 PM, avlev said: Today I tried to compile image for nanopi m1 plus and nand-sata-install works! https://docs.armbian.com/Developer-Guide_Build-Preparation/ nanopim1plus.conf has already been corrected: BOOTCONFIG="nanopi_m1_plus_defconfig" It is working!! I guess the error is in the image that is posted in the website. When I compiled armbian, It is working like a charm. Thank you very much.
Robert LabTeam Posted October 18, 2017 Posted October 18, 2017 Hi Guys, is there any way to install our custom build automatically ? I mean to insert SD card, connect power adapter , wait 4 minutes, remove card, restart power and use eMMC image?
Igor Posted October 18, 2017 Posted October 18, 2017 7 minutes ago, Robert LabTeam said: Hi Guys, is there any way to install our custom build automatically ? No, not developed.
tedsluis Posted August 20, 2018 Posted August 20, 2018 Can I safely download a "u-boot-sunxi-with-spl.bin" file for my orange pi 2 plus via this link? https://d-i.debian.org/daily-images/armhf/daily/u-boot/
martinayotte Posted August 20, 2018 Posted August 20, 2018 I don't see any u-boot for OPi2+ on this server ...
svd93 Posted June 8, 2019 Posted June 8, 2019 Hi! I previously did Armbian boot and operation from EMMC of Orange Pi, all went OK. Now I have Banana Pi M1+ , download Armbian. After command nand-sata-install I can get only this choice: where is no "boot from eMMC — system on eMMC" What could be wrong? thanks! Welcome to ARMBIAN 5.85 stable Ubuntu 18.04.2 LTS 4.19.38-sunxi System load: 1.33 0.87 0.35 Up time: 2 min Memory usage: 17 % of 995MB IP: 192.168.100.8 CPU temp: 53°C Usage of /: 9% of 15G
Igor Posted June 8, 2019 Posted June 8, 2019 16 minutes ago, svd93 said: Now I have Banana Pi M1+ , download Armbian. There is no eMMC chip on this board. 2
y52 Posted July 12, 2019 Posted July 12, 2019 I am upgrading the OrangePI plus bought in 2016 to Buster and moved the system to eMMC with "armbian-config". / _ \| _ \(_) _ | | | | |_) | |_| |_ | |_| | __/| |_ _| \___/|_| |_| |_| Welcome to Debian Buster with Armbian Linux 4.19.57-sunxi Does armbian-config update the u-boot firmware? Or should I run it manually as described? $ sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk1 bs=1024 seek=8 How could the current firmware version be checked and backed up before updating it ? Where is an appropriate latest firmware file? Is the one below good for OrangePI? https://d-i.debian.org/daily-images/armhf/daily/u-boot/orangepi_plus/ [ ] orangepi_plus.sdcard.img.gz 2019-07-12 00:11 245K [ ] u-boot-sunxi-with-spl.bin.gz 2019-07-12 00:11 245K Incidentally, is the boot from SATA supported on OrangePI plus ?
Igor Posted July 12, 2019 Posted July 12, 2019 1 hour ago, y52 said: Does armbian-config update the u-boot firmware? Or should I run it manually as described? It does everything, no manually anything. Only updating u-boot on running system is manual and optional (from armbian-config menu driven utility). When you initiate install to eMMC, latest (if you apt update) is taken and flashed eMMC. 1 hour ago, y52 said: Incidentally, is the boot from SATA supported on OrangePI plus ? Yes, but not directly from u-boot since it has not real SATA. 1 hour ago, y52 said: Where is an appropriate latest firmware file? Is the one below good for OrangePI? None of those automate untested builds that is provide by Debian.
rforcen Posted August 29, 2020 Posted August 29, 2020 on x96max(4/64)/mini(2/16) devices i've been able to install modifying the size of android-9 gap approx. 1.5G in the partition section of the install-aml.sh script, so just added 1G to current figures and it worked: was fat32 from 700 to 956, ext4 from 957 to 100% modified to fat32 from 1700 to 1956, ext4 from 1957 to 100% seems like android content must be totally preserved for a proper boot
Igor Posted August 31, 2020 Posted August 31, 2020 On 8/29/2020 at 8:23 PM, rforcen said: seems like android content must be totally preserved for a proper boot Official Armbian also provides bootloader. You need nothing on eMMC/NAND. On 8/29/2020 at 8:23 PM, rforcen said: on x96max(4/64)/mini(2/16) devices ... are not officially supported and not powered by H3 chip which this forum is related to. TV boxes hardware support is here: https://forum.armbian.com/forum/24-tv-boxes/
sanitariu Posted October 8, 2021 Posted October 8, 2021 On 5/7/2016 at 8:55 AM, Igor said: When your SD is inserted, you can't boot from eMMC. The rest looks ok ... if you did an update and upgrade, you don't need to download any 3rd party boot loader. I don't know if it's ok but let's assume it is. I would like to do the opposite ! Boot from external SD card and mount the internal eMMC. This is not possible for now. root@orangepizero:~# dmesg | grep mmc [ 0.000000] Kernel command line: root=UUID=592180af-c238-474c-a04b-4a9e91c6d375 rootwait rootfstype=ext4 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart=f6fd8d58-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 3.614489] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 3.638787] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 3.674165] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.676368] mmc0: new high speed SDHC card at address 0007 [ 3.679008] mmcblk0: mmc0:0007 SD16G 14.5 GiB [ 3.684778] mmcblk0: p1 [ 3.903208] ubootsource=mmc [ 5.093763] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 5.327331] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB [ 5.344637] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 5.346238] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 5.347835] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 5.350751] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 5.354299] mmc1: queuing unknown CIS tuple 0x81 (9 bytes) [ 5.446745] mmc1: new high speed SDIO card at address 0001 [ 5.663316] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 9.439678] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro I see my mmc0 card /dev/mmcblk0/p1 everything is fine , but i would like to access the internal one --> mmc1: new high speed SDIO card at address 0001 root@orangepizero:~# ls -la /dev/mmc* brw-rw---- 1 root disk 179, 0 Oct 8 13:35 /dev/mmcblk0 brw-rw---- 1 root disk 179, 1 Oct 8 13:35 /dev/mmcblk0p1 root@orangepizero:~# Is there anyway to enable the card ?
Recommended Posts