Beaglebone Black 运行QNX
http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Bspdown_ti_omap_3730_beagle
下載MLO、u-boot.bin文件、BSP包,準(zhǔn)備一個(gè)tf卡
sd卡分區(qū),設(shè)置第一分區(qū)為活動(dòng)的啟動(dòng)分區(qū),格式化為fat32格式
復(fù)制MLO文件進(jìn)去,使MLO文件作為fat32文件系統(tǒng)的第一個(gè)文件。
復(fù)制u-boot.bin文件進(jìn)去。
復(fù)制BSP包里面的ifs文件進(jìn)去。
在優(yōu)盤新建uEnv.txt文件,內(nèi)容如下
mmcboot=echo Booting QNX ...;fatload mmc 0 0x81000000 prebuilt-bsp-ti-beaglebone.ifs;go 0x81000000
tf卡插入Beaglebone black,按住啟動(dòng)開關(guān) Boot Switch,上電
板子將從tf卡啟動(dòng)。
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.imgU-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 environmentNet: <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 QNXSystem 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 MMCHStarget=0 lun=0 Direct-Access(0) - SD:3 SL16G Rev: 8.0 dm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500address: 78:a5:04:ed:59:63media: Ethernet none (100baseTX full-duplex)status: activeinet 192.168.0.45 netmask 0xffffff00 broadcast 192.168.0.255 starting leds driver... Starting inetd daemon #關(guān)于Boot Switch的說明
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
總結(jié)
以上是生活随笔為你收集整理的Beaglebone Black 运行QNX的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2016年10月起微软更改了更新服务模型
- 下一篇: BeagleBone Black QNX