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.

updating/optimizing Lime2-eMMC

Featured Replies

Following the instructions from the download page for the Lime2-eMMC we tried to apply the commands listed, but it looks that something is garbled here 

apt-get update
apt-get upgrade
source /etc/armbian-release
dpkg -r linux-u-boot-lime2-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2
apt-get -y install linux-u-boot-lime2-emmc-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2-emmc
ln -fs bin/lime2-emmc.bin /boot/script.bin
echo lime2-emmc > /etc/hostname
reboot

source is not a command AFAIK and if I use it as an apt-get option the system complaints about missing entries in sources.

 

What is the correct way?

 

 

Nothing is wrong - this is the correct way and valid for recent images while this might not work on some older and not upgraded builds where this file is not present.

 

Command source executes /etc/armbian-release and we get values for needed variables. This is example of this file:

# PLEASE DO NOT EDIT THIS FILEBOARD=orangepipcplus
BOARD_NAME="Orange Pi PC +"
VERSION=5.24
LINUXFAMILY=sun8i
BRANCH=dev
ARCH=arm
  • Author

Thanks Igor,

 

the image is the latest one - downloaded two days ago.

 

Did run apt-get update and upgrade again right now.

Though there is no file named armbian-release in /etc, making "source" protesting "no such file or directory".

 

Hubert

  • Author

Thanks for the links.

 

We are on Mainline 4.7.3 Deb Jessie but will give a try.

 

Question: does the images allow to install into and boot from eMMC? 

Iḿ trying to follow these instructions:

apt-get update
apt-get upgrade
source /etc/armbian-release
dpkg -r linux-u-boot-lime2-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2
apt-get -y install linux-u-boot-lime2-emmc-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2-emmc
ln -fs bin/lime2-emmc.bin /boot/script.bin
echo lime2-emmc > /etc/hostname
reboot

But in

apt-get -y install linux-u-boot-lime2-emmc-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2-emmc

it launches

Reading package lists... Done                                                                                       
Building dependency tree                                                                                            
Reading state information... Done                                                                                   
E: Unable to locate package linux-jessie-root-default-lime2-emmc  

And I'm stucked there.

4 hours ago, Igor said:

Default packages are without default in the name - we have to fix this. 



 

linux-jessie-root-default-lime2-emmc
linux-jessie-root-lime2-emmc

 

ok. that worked. Thanks!

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.