http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Bspdown_ti_omap_3730_beagle
下载MLO、u-boot.bin文件、BSP包,准备一个tf卡
sd卡分区,设置第一分区为活动的启动分区,格式化为fat32格式
复制MLO文件进去,使MLO文件作为fat32文件系统的第一个文件。
复制u-boot.bin文件进去。
复制BSP包里面的ifs文件进去。
在优盘新建uEnv.txt文件,内容如下
mmcboot=echo Booting QNX ...;fatload mmc 0 0x81000000 prebuilt-bsp-ti-beaglebone.ifs;go 0x81000000
tf卡插入Beaglebone black,按住启动开关 Boot Switch,上电
板子将从tf卡启动。
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
100 bytes read in 4 ms (24.4 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
uenvcmd was not defined in uEnv.txt ...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
Booting QNX ...
reading prebuilt-bsp-ti-beaglebone.ifs
8624328 bytes read in 472 ms (17.4 MiB/s)
## Starting application at 0x81000000 ...
DDR DPLL in Lock mode:
DDR clock 400 Mhz [400/1]
Disp DPLL in Lock mode:
Disp clock 200 Mhz [200/1]
MPU DPLL in Lock mode:
MPU clock 1000 Mhz [1000/1]
PER DPLL in Lock mode:
PER clock 192 Mhz [960/5]
CORE DPLL in Lock mode:
M4 CORE clock 100 Mhz [1000/10]
M5 CORE clock 125 Mhz [1000/8]
M6 CORE clock 250 Mhz [1000/4]
Not a BeagleBone??
CPU0: L1 Icache: 512x64
CPU0: L1 Dcache: 512x64 WB
CPU0: L2 Dcache: 4096x64 WB
CPU0: VFP-d32 FPSID=410330c3
CPU0: NEON MVFR0=11110222 MVFR1=00011111
CPU0: 413fc082: Cortex A8 rev 2 720MHz
Loading IFS...done
Jumping to QNX
System page at phys:80011000 user:fc404000 kern:fc404000
Starting next program at vfe046d48
cpu_startnext: cpu0 -> fe046d48
VFPv3: fpsid=410330c3
coproc_attach(10): replacing fe076700 with fe075f8c
coproc_attach(11): replacing fe076700 with fe075f8c
Welcome to QNX Neutrino 6.5.0 SP1 on the Texas Instruments BeagleBone (ARMv7 Cortex-A8 core) - Board
Starting MMC/SD driver...
starting I2C driver...
starting WDT reset utility...
changing thread parameters
AM335X Watchdog: No timeout specified, using 2x kicktime = 30000 ms
phy_base=0x44e35000 size=0x00000064
starting Board ID driver...
stop timer
Board ID
header: ee3355aa
name: A335BNLT
version: 00C0
serial: 2215BBBK0569
config: ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Setting OS Clock from on-board RTC
Starting USB OTG Host driver...
Starting SPI driver...
Starting network driver...
Getting network address with DHCP...
Path=0 - TI OMAP3 MMCHS
target=0 lun=0 Direct-Access(0) - SD:3 SL16G Rev: 8.0
dm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 78:a5:04:ed:59:63
media: Ethernet none (100baseTX full-duplex)
status: active
inet 192.168.0.45 netmask 0xffffff00 broadcast 192.168.0.255
starting leds driver...
Starting inetd daemon
#
A switch is provided to allow switching between the modes.
? Holding the boot switch down during boot without a SD card inserted will
force the boot source to be the USB port and if nothing is detected on the USB
client port, it will go to the serial port for download.
? Without holding the switch, the board will boot from eMMC. If it is empty,
then it will try booting from the uSD slot, followed by the serial port, and then
the USB port.
? If you hold the boot switch down during boot, and you have a uSD card
inserted with a bootable image, the board will boot form the uSD card.
参考资料
http://www.jishux.com/plus/view-516005-1.html