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.

[Solved] Orange PI PC + Boot from eMMC

Featured Replies

I configured Armbian on a mSD card and decided to try and move it to the eMMC. I used the nand-sata-install utility, All files from the mSD card are copied, and the last step fails. I get 

 

Error: no u-boot package found, exiting

 

Any pointers? 

Edited by ducs4rs

  • Author

I am using this device for PiKVM. It appears during the PiKVM install it somehow breaks u-boot transfer when you move the image from mSDC to eMMC.  I was on one of the PiKVM discord channels, #unofficial_ports and @jacobb suggested I try to dd u-boot from the mSDC to the eMMC. I did that and it worked.  FYI the DD command I used:

 

dd if=/dev//mmcblk0 of=/dev/mmcblk2 bs=1024 skip=8 seek=8 count=4087

 

mmcblk0 is the mSDC and mmcblk2 is the eMMC.

 

Knowing this does work without the PiKVM customizations I am not going to troubleshoot this now. I may work on it in the future.

 

I'll mark this as solved.  Thanks for responding.

 

BTW here is the nand-sata-install.log for the last failed attempt. Nothing interesting to me.

 

Tue May  2 04:02:46 PM EDT 2023: Start armbian-install.


Old UUID:  UUID=20a438e5-56ab-4920-86aa-a4212c646ce2
SD UUID:   b81ecd25-f6d2-49f1-b92b-9a59e458ca3f
SATA UUID: UUID=f406a396-9dcc-4f76-aba4-e24005863895
eMMC UUID: UUID=f406a396-9dcc-4f76-aba4-e24005863895 ext4
Boot: $1 /dev/mmcblk2p1 ext4
Root: $2 /dev/mmcblk2p1
Usage: 3163
Dest: 6765

/etc/fstab:
UUID=20a438e5-56ab-4920-86aa-a4212c646ce2 / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0

/etc/mtab:
/dev/mmcblk0p1 / ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/mmcblk0p1 /var/log.hdd ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/mmcblk2p1 /mnt/armbian-install.L5Opkq/bootfs ext4 rw,relatime 0 0
/dev/mmcblk2p1 /mnt/armbian-install.L5Opkq/rootfs ext4 rw,relatime 0 0
/dev/zram1 /var/log ext4 rw,relatime,discard 0 0

Files currently open for writing:
vnstatd   1077          vnstat    3u   REG  179,1   147456  47252 /var/lib/vnstat/vnstat.db
tailscale 1489            root    2u   REG  179,1        0 132724 /var/lib/tailscale/tailscaled.log1.txt
tailscale 1489            root    7u   REG  179,1        0 132724 /var/lib/tailscale/tailscaled.log1.txt
tailscale 1489            root    8u   REG  179,1        0 132725 /var/lib/tailscale/tailscaled.log2.txt
master    2631            root   10uW  REG  179,1       17 132636 /var/spool/postfix/pid/master.pid
master    2631            root   11uW  REG  179,1       17 132637 /var/lib/postfix/master.lock

Trying to stop running services to minimize open files:
Stopping cron.service
Stopping postfix@-.service
Stopping kvmd-nginx.service

Checking again for open files:
vnstatd   1077          vnstat    3u   REG  179,1   147456  47252 /var/lib/vnstat/vnstat.db
tailscale 1489            root    2u   REG  179,1        0 132725 /var/lib/tailscale/tailscaled.log2.txt
tailscale 1489            root    7u   REG  179,1        0 132724 /var/lib/tailscale/tailscaled.log1.txt
tailscale 1489            root    8u   REG  179,1        0 132725 /var/lib/tailscale/tailscaled.log2.txt

Copying 82307 files to /dev/mmcblk2p1.

 

 

uboot_fail.thumb.png.80244a9dbfea9aefec36a700d169adca.png

 

apt list |grep u-boot
...

u-boot-exynos/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-imx/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-menu/jammy 4.0.4ubuntu1 all
u-boot-nezha/jammy-updates 2022.04+git20220405.7446a472-0ubuntu0.2 all
u-boot-omap/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-qemu/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 all
u-boot-rockchip/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 armhf
u-boot-rpi/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 armhf
u-boot-sunxi/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed,automatic]
u-boot-tegra/jammy-security,jammy-updates 2022.01+dfsg-2ubuntu2.3 armhf
u-boot-tools/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed]
u-boot/jammy-security,jammy-updates,now 2022.01+dfsg-2ubuntu2.3 armhf [installed]

 

Edited by ducs4rs

  • ducs4rs changed the title to [Solved] Orange PI PC + Boot from eMMC

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

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.