Skip to contentSkip to conversation

How to create a Bootable SD-Card for i.MX28 EVK

Buildroot Tobias Sachs 2 participants 2 messages May 4, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

I started one week ago with configuring an Kernel/Linux Image for my i.MX28 EVK for the first test I keep the original configurations except the following.

As target Architecture I choose "ARM (little endian)" As Target Architecture Variant I use "arm926t"

In my Toolchain I ticked on "large file (files > 2 GB) support" an "WCHAR support"
In the System configuration i use "Dynamic using udev" as "/dev management"

As Kernel defconfig I use "mxs"

In Filesystem images I use "ext2 root filesystem"

With these configuration the "make" goes through wihout any errors und gave me a "uimage" und a "rootfs.ext2" as output. But how do i create a bootable SD-Card with my created uimage and rootfs.ext2? With LTIB I can use "mk_mx28_sd.sh" and "mk_hdr.sh" but these Scripts need a "imx28_linux.sb" In the mail archives I've read about a patch to create these .sb files with buildroot but where do I find these patch and how do I apply it?

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Another Question when I select U-Boot as Bootloader I have to add a "U-Boot board name" but I can't find which names I could use if I try "mxs" I get only the error listed below.

libtool: install: warning: remember to run `libtool --finish /usr/lib'
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make: *** No rule to make target `mxs_config'. Stop.
make[1]: *** [mxs_config] Error 1
make: *** [/home/freescale/Documents/imx28/buildroot/output/build/uboot-2012.04.01/.stamp_configured] Error 2

Many Thanks

#1 lore raw
Quoted 2 lines · Tobias Sachs

Another Question when I select U-Boot as Bootloader I have to add a "U-Boot board name" but I can't find which names I could use if I try "mxs" I get only the error listed below.

The U-Boot source tree has a 'boards.cfg' file that specifies all supported boards. Look for it there. Usually, the
U-Boot board name has to be more specific than the kernel's board name (because the kernel has more auto-discovery features than U-Boot). You'll find there that it's called "m28evk".

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F