Jump to content

Recommended Posts

Posted

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?

 

 

Posted

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
Posted

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

Posted

OK, than we have a problem ... well, there are two prebuild images for emmc version here.

 

We are reworking download section those days so this might not be valid long.

Posted

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? 

Posted

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

 

Sure yes, as written in docs.

Posted

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.

Posted

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

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

 

Posted
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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines