6 6
lonix

Install to EMMC

Recommended Posts

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

qQpEnCU.png

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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? 

Share this post


Link to post
Share on other sites

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?

 

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites
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

 

Share this post


Link to post
Share on other sites

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).

 

 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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"

 

Share this post


Link to post
Share on other sites
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.

 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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?
 

Share this post


Link to post
Share on other sites

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:

 

image.png.29662b85042dfa13d79c6cfbad25cb58.png

 

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

 

Share this post


Link to post
Share on other sites
16 minutes ago, svd93 said:

Now I have Banana Pi M1+ , download Armbian.


There is no eMMC chip on this board.

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites
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.

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...
6 6