Jump to content

updating/optimizing Lime2-eMMC


geleimt

Recommended Posts

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?

 

 

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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

 

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines