Difference between revisions of "Freescale IMX53QSB"
(→Topics) |
(→Barebox) |
||
| Line 38: | Line 38: | ||
to allow it you will need to flash it inside | to allow it you will need to flash it inside | ||
| + | |||
| + | barebox 2011.09.0-00338-ga6d06f2 (Oct 9 2011 - 23:07:34) | ||
| + | |||
| + | Board: Freescale i.MX53 LOCO | ||
| + | registered netconsole as cs1 | ||
| + | eth@eth0: got MAC address from EEPROM: 00:04:9F:01:AB:1D | ||
| + | Malloc space: 0x7df00000 -> 0x7ff00000 (size 32 MB) | ||
| + | Stack space : 0x7def8000 -> 0x7df00000 (size 32 kB) | ||
| + | envfs: wrong magic on /dev/env0 | ||
| + | no valid environment found on /dev/env0. Using default environment | ||
| + | running /env/bin/init... | ||
| + | barebox@Freescale i.MX53 LOCO:/ | ||
= Kernel = | = Kernel = | ||
Revision as of 20:18, 26 October 2011
Contents |
Topics
Hardware
The i.MX53 Quick Start Board aka loco is a 1GHz ARM Crotex-A8 embedded computer in a 3-inch by 3-inch board.
The loco boot from SD Card with the boot loader at the first sector of it
You can use Barebox on it
http://git.pengutronix.de/?p=barebox.git;a=summary
Barebox
Barebox use the same build (Kbuild) and configuration (Kconfig) as the linux kernel
1) First you need to clone the tree
git clone git://git.pengutronix.de/git/barebox.git
2) Then you need to configure it
make freescale_mx53_loco_defconfig
3) compile it
make
4) now you need to generate you SD Card
Plug the sd card on your laptop and copy barebox.bin on it
dd if=barebox.bin of=/dev/sdb bs=512 sync
5) plug the SD card in the board and boot it (press boot button)
Now that you have flash your barebox you will see it booting and trying to start the kernel from SD
to allow it you will need to flash it inside
barebox 2011.09.0-00338-ga6d06f2 (Oct 9 2011 - 23:07:34)
Board: Freescale i.MX53 LOCO registered netconsole as cs1 eth@eth0: got MAC address from EEPROM: 00:04:9F:01:AB:1D Malloc space: 0x7df00000 -> 0x7ff00000 (size 32 MB) Stack space : 0x7def8000 -> 0x7df00000 (size 32 kB) envfs: wrong magic on /dev/env0 no valid environment found on /dev/env0. Using default environment running /env/bin/init... barebox@Freescale i.MX53 LOCO:/
Kernel
you can use the mainline kernel but the support is limited so you may use the linaro one http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=summary
1) First you need to clone the tree
a) Mainline
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
b) Freescale
git clone http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git git checkout -b work imx_2.6.38_11.09.01
or
To speed up the clone, clone first the linus tree then fetch freescale as this
or use any already clone kernel
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git remote add freescale http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git git fetch freescale git checkout -b work freescale/imx_2.6.38_11.09.01
2) Then you need to configure it
make imx5_defconfig
3) compile it
make
4) now you need to generate you SD Card
Plug the sd card on your laptop and copy barebox.bin on it
dd if=arch/arm/boot/uImage of=/dev/sdb bs=512 seek=768 sync
5) plug the SD card in the board and boot it (press boot button)
Now that you have flash your barebox you will see it booting and trying to start the kernel from SD
to allow it you will need to flash it inside