geleimt Posted December 30, 2016 Share Posted December 30, 2016 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 updateapt-get upgradesource /etc/armbian-releasedpkg -r linux-u-boot-lime2-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2apt-get -y install linux-u-boot-lime2-emmc-${BRANCH} linux-$(lsb_release -cs)-root-${BRANCH}-lime2-emmcln -fs bin/lime2-emmc.bin /boot/script.binecho lime2-emmc > /etc/hostnamereboot 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 More sharing options...
Igor Posted December 30, 2016 Share Posted December 30, 2016 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 More sharing options...
geleimt Posted December 30, 2016 Author Share Posted December 30, 2016 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 More sharing options...
Igor Posted December 30, 2016 Share Posted December 30, 2016 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. Link to comment Share on other sites More sharing options...
geleimt Posted December 30, 2016 Author Share Posted December 30, 2016 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? Link to comment Share on other sites More sharing options...
Igor Posted December 30, 2016 Share Posted December 30, 2016 Question: does the images allow to install into and boot from eMMC? Sure yes, as written in docs. Link to comment Share on other sites More sharing options...
alr Posted March 15, 2017 Share Posted March 15, 2017 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 More sharing options...
Igor Posted March 15, 2017 Share Posted March 15, 2017 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 More sharing options...
alr Posted March 15, 2017 Share Posted March 15, 2017 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 More sharing options...
Recommended Posts