wiki3629: Nto640AdvantechSom6760TrunkReleasenotes (Version 6) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Release Notes for the QNX Neutrino 6.4.0 BSP for ~Advantech ~SOM-6760 1.0.0#System requirements#Target system#
Host development system#
Getting Started#Step 1: Connect your hardware#1. Connect the serial cable to the serial port of the ~Advantech ~SOM-6760 board and to the serial port on the host machine (e.g. ser1 on a Neutrino host).On your host, run your terminal application with the following configuration:
Step 2: Build the BSP#You can build a BSP OS image from the source code or the binary components contained in a BSP package. The startup-advantech-som6760 will add 1Gb of system memory by default. If needed edit the src/hardware/startup/boards/advantech-som6760/main.c file For instructions about building a BSP OS image, please refer to the chapter Working with a BSP in the Building Embedded Systems manual. Step 3 - (BIOS Boot): Transfer the OS image to a bootable USB memory stick#1. On a Neutrino host, plug the USB key in a USB port (the following steps assume the USB key device name is /dev/hd1, but it may be /dev/umass0 for an unformatted key). At a command prompt:
Note:
13. Ensure the ~Advantech ~SOM-6760 BIOS is configured to boot from the USB stickThe IFS filename will be different if compiled from the IDE, ex: bsp-advantech-som6760.ifs 14. Plug the USB key in one of the ~Advantech ~SOM-6760 USB ports 15. Restart the ~Advantech ~SOM-6760 Step 3 - (Fastboot)#1. Ensure your image is small enough to fit in EEPROM with the microcode (images/CMC.bin) at 0xD0000. If you have an EEPROM chip of 1MB, #!/bin/sh # This script assumes an EEPROM size of 1MB # Example usage: ./mkrom.sh ifs-advantech-som6760.fastboot.bin if [ "$1" == "" ]; then echo "Must specify the image file" exit 1; fi #pad it out to 0xD0000 mkrec -s832k -r -ffull $1 > tmp1.bin #tack on 64k microcode cat tmp1.bin CMC_advantech.bin > tmp2.bin #pad image out to 0xF0000 mkrec -s960k -ffull -r tmp2.bin > tmp3.bin #tack on 64k IPL cat tmp3.bin ../install/x86/boot/sys/ipl-advantech-som6760 > fastboot.rom rm tmp1.bin tmp2.bin tmp3.bin 4. This will create a fastboot.rom image. 4a. Image can be written to the EEPROM using an EEPROM burner 4b. Image can be written to the EEPROM using devf-fwh-poulsbo driver. Run following commands: # devf-fwh-poulsbo
Note:
Be sure to backup ~SOM-6760 BIOS or use another EEPROM for programming Fastboot QNX image. 5. Boot the ~Advantech ~SOM-6760 with the BIOS disabled
Note: For booting a Fastboot based image, the image must be built with the nobios option, ie: [virtual=x86,nobios +compress] Driver Command Summary#The driver command lines below are specific to the ~Advantech ~SOM-6760 board. See the online docs for each driver for additional command-line options and other details.
Note:
The BSP comes with 3 example build files:
Note:
Some of these drivers can be commented out in the default buildfile. To use the drivers in the target hardware, you'll need to uncomment them in your buildfile, rebuild the image, and load the image into the board. Additional Notes for Graphics#
Additional Notes for Flash#
Additional Notes for SMbus Resource Manager#Commands: smb-poulsbo Notes: The SMBus Resource Manager, smb-poulsbo, simply creates a device under the /dev/ directory, /dev/smb0. To access SMbus devices on the Advantech SOM-6760 board, a separate program is required, to read or write from /dev/smb0. A sample application, read_smb and write_smb have been included with the BSP, which can read or wrtie data from SMbus devices on the Advantech SOM-6760 board. The source code to both smb-poulsbo, read-smb and write_smb are included with the BSP, to provide a basis for developing other SMbus-related code. Known Issues#Compile failures when building from IDE 4.5 (ref #67407)#Workaround: See Building with the IDE 4.5 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Versions | Associations | Attachments | Back Links | |||||||