Difference between revisions of "Freescale IMX53QSB"
(Created page with "== 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 lo...") |
|||
| Line 16: | Line 16: | ||
1) First you need to clone the tree | 1) First you need to clone the tree | ||
| − | git clone git://git.pengutronix.de/git/barebox.git | + | git clone git://git.pengutronix.de/git/barebox.git |
2) Then you need to configure it | 2) Then you need to configure it | ||
| − | make freescale_mx53_loco_defconfig | + | make freescale_mx53_loco_defconfig |
3) compile it | 3) compile it | ||
| − | make | + | make |
4) now you need to generate you SD Card | 4) now you need to generate you SD Card | ||
| Line 30: | Line 30: | ||
Plug the sd card on your laptop and copy barebox.bin on it | Plug the sd card on your laptop and copy barebox.bin on it | ||
| − | dd if=barebox.bin of=/dev/sdb bs=512 | + | dd if=barebox.bin of=/dev/sdb bs=512 |
| − | + | sync | |
| − | + | ||
5) plug the SD card in the board and boot it (press boot button) | 5) plug the SD card in the board and boot it (press boot button) | ||
| Line 49: | Line 48: | ||
a) Mainline | a) Mainline | ||
| − | git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git | + | git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git |
b) Freescale | b) Freescale | ||
| − | git clone http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git | + | 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 | + | git checkout -b work imx_2.6.38_11.09.01 |
or | or | ||
| Line 63: | Line 62: | ||
or use any already clone kernel | or use any already clone kernel | ||
| − | git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git | + | 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 remote add freescale http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git |
| − | + | ||
| − | git fetch freescale | + | git fetch freescale |
| − | + | ||
| − | git checkout -b work freescale/imx_2.6.38_11.09.01 | + | git checkout -b work freescale/imx_2.6.38_11.09.01 |
2) Then you need to configure it | 2) Then you need to configure it | ||
| − | make imx5_defconfig | + | make imx5_defconfig |
3) compile it | 3) compile it | ||
| − | make | + | make |
4) now you need to generate you SD Card | 4) now you need to generate you SD Card | ||
| Line 83: | Line 82: | ||
Plug the sd card on your laptop and copy barebox.bin on it | 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 | + | 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) | 5) plug the SD card in the board and boot it (press boot button) | ||
Revision as of 20:01, 26 October 2011
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 on it
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
- Kernel on it
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