Release Notes for QNX Neutrino 6.4.0 BSP for Renesas SH7785 SDK 1.0.0#

System requirements#

Target system#

Host development system#

Getting Started#

Step 1: Connect your hardware#

Step 2: Build the BSP#

Step 3: Transferring the Combined IPL / OS Image (e.g. ipl-ifs-sdk7785.bin) to flash#


Starting ETS.....

 Current SDK Configuration
 ---------------------------------------------------------------------
  PCB Revision Number:           1.10
  CPU Silicon Revision:          2
  Endian Mode:                   Little Endian
  Boot mode:                     32 Bit
  Clock Operating Mode:          16
  Local Bus:                     100 MHz
  DDR-SDRAM:                     300 MHz
  Peripheral Bus:                50 MHz
  Flash Type:                    Spansion S29GL512N90FAIR20
  Flash Memory Size:             128 MBytes
  Flash Bank Select Switch:      CS0 BankA, CS1 BankB 
  Flash Write Protect:           BANK A Not Protected 
  NAND Flash Enable Switch:      NAND Enabled 
  NAND Flash Write Protect:      Not Protected 
  DDR-SDRAM Total Size:          128 MBytes
  Emulation Mode:                Debug Enabled 
  Bus Mode:                      PCI Host
  IO Card Fitted:                Empty(nothing connected)
  Real Time Clock:               01:05:19 Feb 06 1970
 ---------------------------------------------------------------------
  (c) Renesas Technology Europe Ltd. www.renesas.com
  Embedded Test Suite (ETS) for SDK7785 
  ETS Version: 2.04.00 Dec 20 2005
  FPGA Version: 1.00 Dec 14 2005 
  Ethernet MAC Address for this platform: 00:00:87:d6:35:b6 


 ---------------------------------------------------------------------
 ETS MAIN MENU  

   0. Flash Programming Menu
   1. Test Menu 
   2. Boot Configuration Menu
   3. Upgrade FPGA Version 
   4. Display System Configurtion 
 ---------------------------------------------------------------------
Command:>



Command:> 2

 ---------------------------------------------------------------------
  BOOT CONFIGURATION MENU 

    0. Display Configuration 
    1. Change Configuration 

   E. Exit from this menu.
 ---------------------------------------------------------------------
 Command:> 1

 Setup Boot Configuration:

 Boot application [0 ETS, 1 TFTP, 2 USER] (default=0): 1

 Boot Delay [1-9 sec] (default =  5): 

 Are you sure you want to save new Boot Configuration? (y/n): y

 Updating Boot Flash - Do not switch-off or disconnect until complete

 Please wait, saving the new Boot configuration...









 Successfully saved new Boot configuration.

 Reset platform to execute new Boot configuration.

 Press any key to continue....

 ---------------------------------------------------------------------
  BOOT CONFIGURATION MENU 

    0. Display Configuration 
    1. Change Configuration 

   E. Exit from this menu.
 ---------------------------------------------------------------------
 Command:> 

 Press 'SPACE' or wait for 5 seconds to enter TFTP Boot Loader.
 Press any other key to start ETS.


 Starting TFTP Boot Loader...

 Renesas SDK7785 (Little Endian Mode)
 SH TFTP Bootloader Version 2.30
   Copyright (C) 2000 Free Software Foundation, Inc.
   Copyright (C) 2004 Renesas Technology Europe Limited

 This software comes with ABSOLUTELY NO WARRANTY.
 This is free software, and you are welcome to redistribute
 it under the terms of the GNU Lesser General Public License
 version 2.1 or later.
 Built: Dec 19 2005, 12:47:17
Press Space or wait 5 seconds to boot from network, any other key for menu

 TFTP Bootloader Main Menu
 -------------------------
   1. Boot from network
   2. Boot from flash
   3. Boot from FAT32 format MMC card
   4. Load program into flash
   5. Display configuration
   6. Change configuration
 Command:> 6
 Setup TFTP Bootloader Configuration:
 At any prompt press 'Enter' to leave unchanged or 'Esc' key to quit

 Use DHCP to setup network? (default=Static IP) [y/n]: n
 Enter board IP address [10.42.106.251]: 
 Enter server IP address [10.42.106.240]: 
 Enter kernel (/xfer/ipl-ifs-sdk7785.bin) filename: 
 Download to flash Bank B? (default=Bank A) [y/n]: y
 Download file format bin/srec? [b/s]: b
 Binary load address [default=H'40010000]         : 
 Load a disk image? [y/n]: n
 Setup kernel command line? [y/n]: n
 Boot option: TFTP, Flash, None(TFTP Menu)? [t/f/n]: t

 Is flash Bank A write protect switch SW4-4 = 'OFF'? [Y/N] : y

 Updating Boot Flash - Do not switch-off or disconnect until complete
 Please wait, saving the new Boot configuration...

 Successfully saved new TFTP Bootloader configuration.



 TFTP Bootloader Main Menu
 -------------------------
   1. Boot from network
   2. Boot from flash
   3. Boot from FAT32 format MMC card
   4. Load program into flash
   5. Display configuration
   6. Change configuration
 Command:> 4

 Board IP address: 10.42.106.251
 Server IP address: 10.42.106.240
 Downloading /xfer/ipl-ifs-sdk7785.bin to flash bank B
0020003 Downloaded 3432 bytes, crc 17

 Is flash Bank B write protect switch SW4-5 = 'OFF'? [Y/N] : y
 Flash: AM29GL512N (67108864 bytes)
 Sectors: 256 (262144 bytes each)
 Writing Binary to flash...

 Is the BIN image Big or Little Endian? [b/l]: l 
b 2 add A4000000
 
 Toggle flash bank select switch to boot from bank B


Step 3 Alternate: Transferring the OS Image (e.g. ifs-sdk7785.bin) serially using the IPL#

Once the IPL is loaded on the board, the OS image can be downloaded serially as follows:
sendnto -b115200 -d/dev/ser1 ifs-sdk7785.bin

Once the transfer is complete, the OS image will be executed.
Note: The serial port may change, depending on which one is connected to the target. Please see the sendnto documentation in the Utilities Reference.

System Layout#

The table below depicts the memory layout for the image and for the flash.

ItemAddress
OS image loaded0x88010000
Flash Base Address0x0

Depending on the position of the MISC_SW1 switch the flash base address 0x0 will point to one flash bank or the other:

MISC_SW1 Position_Flash Bank ranges
ONBank A (0 to 64MB) and bank B (64MB to 128MB)
OFFBank A (64MB to 128MB) and bank B (0 to 64MB)

Summary of driver commands#

The driver command lines below are specific to the Renesas SDK7785. See the online docs for each driver for additional command-line options and other details.

Serial#

Command:
    devc-sersci -e -F -x -b115200 -c1843200/16 scif1 &

Flash#

Command:
    devf-edosk7780 -s0x0,128M

Ethernet#

Command to start the networking stack:
    io-pkt-v4 -dsmc9118 ioport=0x15800000,irq=6

PCI#

Command:
    pci-edosk7780

EIDE#

Command:
    devb-eide-sdk7785
Note: For the EIDE controller to work a FPGA version of 1.0.1 or greater must be present on the board
Note: The DMA seed utitlity resource_seed must be executed prior to running the devb-eide-sdk7785 driver.

Audio#

Command"
    io-audio -dedosk7780_ac97

Known issues for this BSP#

# uname -a
QNX renesas_sh7785 6.4.0 2008/09/26-04:27:12EDT SDK_7785 shle
# uname -a | grep renesas
QNX renesas_sh7785 6.4.0 2008/09/26-04:27:12EDT SDK_7785 shle
# uname -a | grep shle
QNX renesas_sh7785 6.4.0 2008/09/26-04:27:12EDT SDK_7785 shle
# uname -a | grep renesas | grep shle
#