From 1bcaf44cb47ba6315465846ad3834a888cf56b85 Mon Sep 17 00:00:00 2001 From: Adrian Mangeac Date: Tue, 22 Oct 2019 21:52:40 +0200 Subject: Fix review comments Change-Id: Ic41afdff1c4a0f1f8bb5ad0e967a3854229555fb Signed-off-by: Adrian Mangeac --- .../doc/using_enea_linux.xml | 119 +++++++++++++++++++-- 1 file changed, 112 insertions(+), 7 deletions(-) (limited to 'doc/book-enea-linux-user-guide/doc/using_enea_linux.xml') diff --git a/doc/book-enea-linux-user-guide/doc/using_enea_linux.xml b/doc/book-enea-linux-user-guide/doc/using_enea_linux.xml index a6a0ed6..fbd6d28 100644 --- a/doc/book-enea-linux-user-guide/doc/using_enea_linux.xml +++ b/doc/book-enea-linux-user-guide/doc/using_enea_linux.xml @@ -27,7 +27,7 @@ $ mkdir enea-linux $ cd enea-linux $ repo init -u git@git.enea.com:linux/manifests/el_manifests-standard.git \ - -b refs/tags/Enea_Linux_8.0 -m $MACHINE/default.xml + -b refs/tags/Enea_Linux_8.1 -m $MACHINE/default.xml $ repo sync @@ -106,7 +106,7 @@ $ cd <build_dir>/tmp/deploy/images/<target>/ # Here are the build b $ mkdir enea-linux $ cd enea-linux $ repo init -u git@git.enea.com:linux/manifests/el_manifests-standard.git \ - -b refs/tags/Enea_Linux_8.0 -m $MACHINE/default.xml + -b refs/tags/Enea_Linux_8.1 -m $MACHINE/default.xml $ repo sync @@ -274,7 +274,7 @@ label device01 Copy pxelinux.0 and vesamenu.c32 from the build directory, e.g. from - <build_dir>tmp/work/corei7-64-enea-linux/syslinux/6.03-r0/image/usr/share/syslinux/. + <build_dir>tmp/work/corei7-64-enea-linux/syslinux/6.04-pre2-r0/image/usr/share/syslinux/. @@ -308,6 +308,111 @@ label device01 during BIOS power up tests. Look up the manufacturer's documentation for your board model to find the appropriate key. + +
+ Boot from RAM + + This example requires that a TFTP server is set up at IP address + <tftp_server_ip>, and that the server stores + the Enea Linux image files, kernel image, device tree blob and root + filesystem, in /tftpboot/<download_directory>. + Please refer to for more details on + how to install and configure the TFTP server. + + Once you have that in place, run the following commands on the + target: + + ## set tftp server IP +U-Boot> setenv serverip <tftp_server_ip> + +## tftp the image files on the target machine +U-Boot> tftpboot 0x01000000 Image +U-Boot> tftpboot 0x02000000 Image-bcm2837-rpi-3-b.dtb +U-Boot> tftpboot 0x03000000 enea-image-standard-raspberrypi3-64.ext2.gz.u-boot + +## add any other bootargs values if necessary +U-Boot> setenv bootargs "8250.nr_uarts=1 root=/dev/ram rw ramdisk_size=500000 ip=dhcp \ +console=ttyS0,115200" + +## Start boot sequence +U-Boot> booti 0x01000000 0x03000000 0x02000000 +
+ +
+ Boot from SD card + + Copy the + enea-image-standard-raspberrypi3-64.rpi-sdimg image + to the SD card using the Linux dd tool or Win32DiskImager in Windows, + and insert it into the RPi. The Raspberry Pi will not start without a + properly formatted SD Card, containing the bootloader, kernel image and + rootfs. + + Below you can find two methods of how to format an SD Card: + + + + Format and copy images to the SD card + using the Linux dd command line + + The dd command copies a file, converting + the format of the data in the process, according to the operands + specified: + + sudo dd bs=4M if=enea-image-standard-sdk-raspberrypi3-64.rpi-sdimg of=/dev/sdg + + + Use dd cautiously - improper usage or + entering the wrong values could inadvertently wipe, destroy, or + overwrite the data on your hard drive. + + + + + Format the SD card using the + Win32DiskImager program + + + + Download and unzip Win32DiskImager + + + + Run Win32DiskImager.exe + + + + Select the drive of your SD card + + + + Select the image + enea-image-standard-raspberrypi3-64.rpi-sdimg + + + + Click "Write" and wait for the write to complete + + + + Exit the imager and eject the SD Card + + + + Plug the card into your Raspberry Pi + + + + + Be careful to select the correct drive. If you choose the + wrong one you may destroy your HDD data. If you are using an SD + Card slot and can't see the drive in the Win32DiskImager window, + try using an affordable external adapter in a USB slot. + + + +
@@ -412,8 +517,8 @@ BBLAYERS ?= " \ As a result, BBLAYERS shall be extended with the bsp-layer/s layer for your target and any other additional layer/s. For details on how to do this, see the Yocto - 2.5 Dev Manual, section "Understanding and Creating Layers". If + url="http://www.yoctoproject.org/docs/2.7/dev-manual/dev-manual.html#understanding-and-creating-layers">Yocto + 2.7 Dev Manual, section "Understanding and Creating Layers". If needed replace the Yocto version. Layers can be added when you initialize the build environment. The @@ -440,9 +545,9 @@ BBLAYERS ?= " \ Adding a Recipe Study the Hello + url="https://www.yoctoproject.org/docs/2.7/dev-manual/dev-manual.html#new-recipe-single-c-file-package-hello-world">Hello World recipe in the Yocto Project Development Manual. If needed - replace the example version (2.5) with the Yocto version in your Enea + replace the example version (2.7) with the Yocto version in your Enea Linux distribution.
-- cgit v1.2.3-54-g00ecf