Changes

Jump to: navigation, search

XUELK-AN-002: Running Debian distribution

373 bytes added, 14:54, 3 April 2017
Initial configuration
*adding a modified version of the Linux kernel image [1]
*replacing the default Yocto root file system delivered along with the XUELK, with the Debian one. [2]
The following box shows how to perform such operations. It is assumed that the microSD card (mapped is connected to the host machine. As such, the two partitions are mounted as <code>/devmedia/TBDBOOT</code> in the example) is connected to a Linux host, and that the partition containing the root file system is mounted in <code>/media(dvdk/ROOTFS</code>. The kernel image and the compressed archive containing the root file system are available for download at the following URLs respectively:* https://mirror.dave.eu/lynx/debian/20170403/xuelk-1.1.3_uImage.debian* https://mirror.dave.eu/lynx/debian/20170403/ To copy the kernel image to the microSD card, issue the following command:
<pre class="board-terminal">
TBD copiare immagine kernel in FAT dvdk@osboxes:~$ cd /media/dvdk/ROOTFS/dvdk@osboxes:/media/dvdk/ROOTFS$ sudo rm cp -v xuelk-rf *.1.1.dvdk@osboxes:/media/dvdk/ROOTFS$ sudo tar xvzf /media/sf_shared/20170304-debian8-no-busybox3_uImage.tgz TBDdvdk@osboxes:debian /media/dvdkBOOT/ROOTFS$ sync
</pre>
You can now remove Delete all the existing files in the <code>/media/ROOTFS</code> partition:<pre class="board-terminal">sudo rm -rf /media/ROOTFS/*sudo tar xvzf 20170403-sbclynx-debian-8.tgz -C /media/ROOTFS/ </pre>Decompress the Debian root file system in the same partition:<pre class="board-terminal">sudo tar xvzf 20170403-sbclynx-debian-8.tgz -C /media/ROOTFS/ </pre> Remove the card from the host and plug it into the slot of SBC Lynx.
After powering it up, stop the automatic boot process, and edit the <code>mmcboot</code> variable as follows:
4,650
edits

Navigation menu