The Page describes how to set up the Ubuntu Enterprise server for the Exynos5 board

Set the Exynos5 EVT1 DDR3 board settings based on the picture below Photo0270.jpg

Memory Card Requirement

Use a card of at least 4 GB.

Quick Method:Setup and Boot enterprise server in 5 mins.

Download Ubuntu Server image here (md5sum: bda693eccffb6dd05bcffc2d2fc870fd) and use below commands to copy image to a card.

sudo tar -xvzf Ubuntu_Server.tar.gz
sudo dd if=Ubuntu_Server.img of=/dev/sdX bs=512

Then attach card and power ON board.

Detailed Method:

Tool Chain to be used

The build has been done using the latest linaro tool chain.It has also been tested using arm-2009q3/bin/arm-none-linux-gnueabi.

Build ,burn and setup u-boot

Fuse bl1 binary from here (md5sum: 174d841bf5a3c4e5856061b3de6c7349) using the command

sudo dd if=Exynos5_BL1.img of=/dev/sdX bs=512 seek=1

Now clone and build u-boot code.

git clone git://git.denx.de/u-boot-samsung.git
cd u-boot-samsung/
make smdk5250

After successful ARM cross build, Fuse BL2 or SPL as below.

cd spl/
sudo dd if=smdk5250-spl.bin of=/dev/sdX bs=512 seek=17
cd ../

A prebuilt BL2 or SPL binary is available here (md5sum: 3f5cd6226272e7f7771bd10e518ad2ea).

sudo dd if=bl2.bin of=/dev/sdX bs=512 seek=17

Fuse u-boot binary as given below.

A prebuilt u-boot binary is available here (md5sum: 63299cf7ab1c145eea8de90819782edb).

sudo dd if=u-boot.bin of=/dev/sdX bs=512 seek=49

Where 'X' is the number of your sd card partition which you can find using command 'dmesg'

Set the uboot environment variables with the following value:

bootargs=root=/dev/mmcblk1p1   rw rootwait console=ttySAC2,115200n8 init --no-log
bootcmd=movi read kernel 0 40008000;bootm 40008000
ethact=smc911x-0
ethaddr=00:40:5c:26:0a:5b
gatewayip=192.168.0.1
ipaddr=192.168.0.20
netmask=255.255.255.0
rootfslen= 100000
serverip=192.168.0.1

Modify "root=/dev/mmcblk1p1" based on the partition in which you will mount the file system.

Build and burn zImage

Create a git clone from git://git.linaro.org/people/ronynandy/linux_stable.git

Use the branch linaro_ubuntu_enterprise.

git clone git://git.linaro.org/people/ronynandy/linux_stable.git

git checkout linaro_ubuntu_enterprise

export CROSS_COMPILE=/usr/local/arm/bin/arm-none-linux-gnueabi-

export ARCH=arm

make exynos5_server_defconfig

make -j4

mkdir /home/modules

make  ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install INSTALL_MOD_PATH=/home/modules

make exynos5250-smdk5250.dtb

cat arch/arm/boot/zImage arch/arm/boot/exynos5250-smdk5250.dtb > arch/arm/boot/zImage_DTB

Burn zImage_DTB to the SD card:

sudo dd if=arch/arm/boot/zImage_DTB of=/dev/sdX bs=512 seek=1417

A prebuilt zImage can be found here (md5sum: 767fecc65c531d4815796c059c0f2d4c) Use the following command to fuse the pre built zImage

sudo dd if=zImage_DTB_Working of=/dev/sdX bs=512 seek=1417

Note:(1)In case you want to fix the MAC address of your board follow the link

  • (2)A daily build of the zImage with the dtb blob added is available here (3)Lastest stable version is rebased frequently onto the branch linaro_ubuntu_enterprise; previous stable versions will be available under the branch names lue_<creation_date>. Eg: lue_23AUG2012 (4)Validation test results when tested with lmbench and iozone are here and here respectively. (5) PXE boot procedure is mentioned here

Ubuntu Enterprise File System

Use the prebuilt Ubuntu Enterprise File system from here

Create a partition on SD card starting from sector 9609 using fdisk. Copy all contents from untar directory to filesystem created on SD card. Also, copy the contents from modules/ to lib/modules/ of the filesystem.

Boards/Exynos5/Setup/EnterpriseUbuntuServer (last modified 2013-02-11 08:07:28)