![Kontron SMARC-sAL28 Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/kontron/smarc-sal28/smarc-sal28_user-manual_1996505046.webp)
SMARC-sAL28 User Guide. Rev. 1.0
// 46
run hdpload
booti ${kernel_addr_r} - ${fdt_addr_r}
7.
After board booted up, login as user root. No password is needed.
For more information on U-boot commands please refer to U-boot user manual here:
http://www.denx.de/wiki/DULG/Manual
7.3.
Booting from NFS server
Note: Setting up NFS booting is highly dependent on Linux distribution used on host. For more details about setting
up NFS, DHCP and TFTP daemons consult your distribution documentation.
1.
On Linux host computer create a directory for NFS root (say /nfsroot) and extract the rootfs image into it.
E.g.:
tar xpf /path/to/sal28-machine-test-kontron-sal28.tar.gz -C /nfsroot
2.
Add NFS root directory to /etc/exports and start NFS server.
3.
Copy kernel from extracted rootfs image (Image) into TFTP server root directory (“/var/lib/tftpboot” or
“/tftpboot” or “/srv/tftp” depending on Linux distribution). Configure and start TFTP server.
4.
Copy an appropriate device tree image (e.g. sl28-var34.dtb) into TFTP server root directory.
5.
Configure DHCP server to provide IP configuration for SMARC-sAL28 board.
6.
Configure serial connection
7.
Power on the board. Interrupt autoboot process by pressing any key on serial console and check U-boot
environment variables with “printenv”. If needed, modify corresponding variables with setenv command and boot
Linux from TFTP server on host by executing:
setenv bootargs default_hugepagesz=2m hugepagesz=2m hugepages=256 video=1920x1080-32@60 cma=256M
root=/dev/nfs rw ip=dhcp nfsroot=<host ip>:<path to unpacked rootfs on host>,v3,tcp
setenv serverip <host ip>
setenv ipaddr <sal28 ip>
setenv fdt_file <device tree image copied to tftp>
setenv image <kernel copied to tftp>
tftp ${fdt_addr_r} ${fdt_file}
tftp ${kernel_addr_r} ${image}
booti ${kernel_addr_r} - ${fdt_addr_r}
For example:
setenv bootargs default_hugepagesz=2m hugepagesz=2m hugepages=256 video=1920x1080-32@60 cma=256M
root=/dev/nfs rw ip=dhcp nfsroot=10.42.0.1:/media/nfsroot/sal28,v3,tcp
setenv serverip 192.168.99.1
setenv ipaddr 192.168.99.101
setenv fdt_file sl28-var34-ads2.dtb
setenv image Image
tftp ${fdt_addr_r} ${fdt_file}
tftp ${kernel_addr_r} ${image}
booti ${kernel_addr_r} - ${fdt_addr_r}
8.
After board booted up, login as user root. No password is needed.
7.4.
Deploying created images to on-board eMMC and booting from it
Note: Kernel image, device tree images and kernel modules are automatically built into rootfs image.
1.
Boot SMARC-sAL28 either from SD card, USB flash/disk or from NFS as was described above.
2.
Deploy the extracted SD/USB image (a wic file) to another USB flash/disk and connect it to the booted
SMARC-sAL28 system.
3.
Mirror the image from the inserted SD/USB storage to the eMMC device:
dd if=/path/to/sal28-machine-test-kontron-sal28.wic of=/dev/mmcblk1 bs=4M oflag=direct
Note: all information on eMMC will be erased!
4.
Reboot SMARC-sAL28
Содержание SMARC-sAL28
Страница 1: ...USER GUIDE 1 SMARC sAL28 Doc Rev 1 0 Doc ID 1064 6120...
Страница 2: ...SMARC sAL28 Rev 1 0 www kontron com 2 This page has been intentionally left blank...
Страница 22: ...SMARC sAL28 User Guide Rev 1 0 www kontron com 22 Figure 4 Bottom View 3 Product label 3...
Страница 28: ...SMARC sAL28 User Guide Rev 1 0 www kontron com 28...