2014-09-30 13:07:26 +00:00
|
|
|
Texas Instruments OMAP
|
|
|
|
======================
|
2014-06-17 08:37:25 +00:00
|
|
|
|
2014-06-28 13:50:19 +00:00
|
|
|
Texas Instruments OMAP SoCs have a two-stage boot process. The first stage is
|
2014-06-17 08:37:25 +00:00
|
|
|
known as Xload which only loads the second stage bootloader. barebox can act as
|
2014-06-28 13:50:19 +00:00
|
|
|
both the first and the second stage loader. To build as a first stage loader,
|
|
|
|
build the \*_xload_defconfig for your board; for second stage, build the normal
|
2014-06-17 08:37:25 +00:00
|
|
|
\*_defconfig for your board.
|
|
|
|
|
2014-06-27 11:00:12 +00:00
|
|
|
Bootstrapping a PandaBoard
|
|
|
|
--------------------------
|
2014-06-17 08:37:25 +00:00
|
|
|
|
2014-06-28 13:50:19 +00:00
|
|
|
The PandaBoard boots from SD card. The OMAP Boot ROM code loads a file named
|
2014-06-17 08:37:25 +00:00
|
|
|
'MLO' on a bootable FAT partition on this card. There are several howtos and
|
2014-06-28 13:50:19 +00:00
|
|
|
scripts on the net which describe how to prepare such a card (it needs
|
2014-06-17 08:37:25 +00:00
|
|
|
special partitioning). The same procedure can be used for barebox. With such a
|
2014-06-28 13:50:19 +00:00
|
|
|
card (assumed to be at /dev/sdc), the following can be used to build and install
|
2014-06-17 08:37:25 +00:00
|
|
|
barebox::
|
|
|
|
|
|
|
|
# mount -t fat /dev/sdc1 /mnt
|
|
|
|
# make panda_xload_defconfig
|
|
|
|
# make
|
|
|
|
# cp barebox.bin.ift /mnt/MLO
|
|
|
|
# make panda_defconfig
|
|
|
|
# make
|
|
|
|
# cp barebox.bin /mnt/barebox.bin
|
|
|
|
# umount /mnt
|
|
|
|
|
2014-06-28 13:50:19 +00:00
|
|
|
Bootstrapping a BeagleBoard is the same with the corresponding BeagleBoard defconfigs.
|
2014-06-17 08:37:25 +00:00
|
|
|
|
|
|
|
Networking
|
|
|
|
----------
|
|
|
|
|
2014-06-28 13:50:19 +00:00
|
|
|
The original BeagleBoard does not have Ethernet (the newer BeagleBoard-xM does),
|
|
|
|
but a USB Ethernet dongle can be used for networking. The PandaBoard has an
|
|
|
|
integrated USB Ethernet converter which behaves exactly like an external dongle.
|
|
|
|
Barebox does not automatically detect USB devices as this would have bad effects
|
|
|
|
on boot time when USB is not needed.
|
2014-06-17 08:37:25 +00:00
|
|
|
So you have to use the [[commands:usb|usb]] command to trigger USB detection.
|
|
|
|
After this a network device should be present which can be used with the normal
|
|
|
|
[[commands:dhcp|dhcp]] and [[commands:tftp|tftp]] commands.
|