This page describes the procedure for booting using PXE from U-Boot on Arndale board of Samsung.

Tool Chain to be used

The build has been done using the toolchain 'Sourcery CodeBench Lite 2011.09-69' version 4.6.1 and can be downloaded here

U-boot building

Described in

Kernel Building

Described in

Usage of PXE on target

1. Enable tftp on the host PC where the kernel image is present. This link may be useful in configuring tftp.

2. Create a directory by name "pxelinux.cfg" in the folder shared for tftp. Eg: /tftpboot/pxelinux.cfg

3. Create a file by name 01-<Board MAC address> in the pxelinux.cfg directory. Eg /tftpboot/pxelinux.cfg/01-12-34-56-78-90-12

4. Fill the following details in the created file:

default pxe
prompt 0
timeout 3

label pxe
kernel uImage
fdt exynos5250-arndale.dtb
append root=/dev/mmcblk1p1 rw rootwait console=ttySAC2,115200n8 init --no-log

NOTE: We are assuming the kernel image "uImage" and the device tree blob "exynos5250-arndale.dtb" to be present in the foler /tftpboot/ . Change the appropriate names if required.

5. Now power on the board with the SD card. At the u-boot prompt, set the environmental variables "serverip" and "ipaddr" as per the board and host PC configuration. Now set the following environmental variables as mentioned:

setenv usbethaddr 00:40:5c:26:0a:5b
setenv pxefile_addr_r 0x50000000
setenv kernel_addr_r 0x40007000
setenv initrd_addr_r 0x41000000
setenv fdt_addr_r 0x41f00000

6. Now type the following commands to transfer images from host PC to board and boot linux:

usb start
pxe get
pxe boot

Boards/Arndale/Setup/PXEBoot (last modified 2013-02-05 12:35:44)