Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX6.5 on BeagleBone Black: (3 Items)
   
QNX6.5 on BeagleBone Black  
Hello!

I'm trying to run QNX6.5 kernel on BeagleBone Black board. I downloaded a BSP for it from here [ http://community.qnx.
com/sf/wiki/do/viewPage/projects.bsp/wiki/TiAm335Beaglebone ]  and imported it to QNX Momentix IDE. The BSP was 
successfully build. After that I tryed to prepare *.ifs image using ./images/beaglebone.build file:

mkifs beaglebone.build os.ifs

And I had a two issue with it.
First, image does not build without editing beaglebone.build file. I had an error:
Line 65: Host file 'startup-beaglebone' not available.

After that I added all pathes to $MKIFS_PATH in buildfile:
[search=${MKIFS_PATH}:/home/user/_projects/qnx_workspace/bsp-ti-beaglebone-src/src/hardware/startup/boards/beaglebone/
arm/le.v7:/opt/qnx650/target/qnx6/armle-v7/boot/sys:/home/user/_projects/qnx_workspace/bsp-ti-beaglebone-src/install/
armle-v7/lib/dll:/home/user/_projects/qnx_workspace/bsp-ti-beaglebone-src/install/armle-v7/lib:/home/user/_projects/
qnx_workspace/bsp-ti-beaglebone-src/install/armle-v7/sbin:/home/user/_projects/qnx_workspace/bsp-ti-beaglebone-src/
install/armle-v7/bin]

After that ifs image was successfully created. What am doing wrong? Why I have to manually write all paths to MKIFS_PATH
 variable? 

Second. I tryed to boot this image and had an error. Here booting log:

=> fatload mmc 0 0x81000000 os.ifs
reading os.ifs
7563096 bytes read in 414 ms (17.4 MiB/s)
=> go 0x81000000
## 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 500MHz
Loading IFS...done
Unable to load boot process '/proc/boot/procnto-instr'

When I try to boot prebuilt-bsp-ti-beaglebone.ifs (it was in ./image directory after downloading) the kernel starts 
successfully. What am doing wrong?

Attachment: Text beaglebone.build 13.88 KB
Re: QNX6.5 on BeagleBone Black  
Couple of things to check:

Make sure that you have installed QNX 6.5.0 Service Pack 1 (SP1) as this BSP requires SP1 be installed.

If you are building from the command line, ensure that you run make from the correct sub directory as documented here: 
http://www.qnx.com/developers/docs/6.6.0.update/#com.qnx.doc.neutrino.building/topic/bsp_CMDLINE.html

It will build and copy files into their correct locations for the build, it will also ensure that the correct versions 
of files are being picked up during the mkifs .  You will also note that at the end of the make we call mkifs with the 
correct arguments for this directory structure.

You do not need to modify the MKIFS path in the build file in order to pick up the correct startup, however you need to 
mkifs with a command line argument in order that mkifs searches the correct paths for the BSP first.  Without it, you 
may well be picking up some of the wrong versions.

The mkifs that make runs is:
mkifs -r../install -v  beaglebone.build ifs-ti-beaglebone.bin

I do not have a board to test with, but the ifs was built without errors.

- Dave
Re: QNX6.5 on BeagleBone Black  
For 6.5.0 SP1 the documentation link would be:

http://www.qnx.com/developers/docs/6.5.0SP1.update/#./com.qnx.doc.neutrino_building/bsp.html


> Couple of things to check:
> 
> Make sure that you have installed QNX 6.5.0 Service Pack 1 (SP1) as this BSP 
> requires SP1 be installed.
> 
> If you are building from the command line, ensure that you run make from the 
> correct sub directory as documented here: http://www.qnx.com/developers/docs/6
> .6.0.update/#com.qnx.doc.neutrino.building/topic/bsp_CMDLINE.html
> 
> It will build and copy files into their correct locations for the build, it 
> will also ensure that the correct versions of files are being picked up during
>  the mkifs .  You will also note that at the end of the make we call mkifs 
> with the correct arguments for this directory structure.
> 
> You do not need to modify the MKIFS path in the build file in order to pick up
>  the correct startup, however you need to mkifs with a command line argument 
> in order that mkifs searches the correct paths for the BSP first.  Without it,
>  you may well be picking up some of the wrong versions.
> 
> The mkifs that make runs is:
> mkifs -r../install -v  beaglebone.build ifs-ti-beaglebone.bin
> 
> I do not have a board to test with, but the ifs was built without errors.
> 
> - Dave