📄 85x0ads.8548cds.build
字号:
############################################################################### QNX Neutrino 6.3 on the PowerPC 8548CDS board################################################################################# SUPPORTED DEVICES:#### SERIAL: UART## PCI:## NETWORK: MPC85xx Gigabit Controller## FLASH: 2 Banks of 8M (AMD Mirrorbit)#### - For detailed instructions on the default example configuration for## these devices see the "CONFIGURING ON-BOARD SUPPORTED HARDWARE"## section below the build script section, or refer to the BSP docs.## - Tip: Each sub-section which relates to a particular device is marked## with its tag (ex. SERIAL). You can use the search features of## your editor to quickly find and add or remove support for## these devices.## - For details on how build files work, please refer to the help## documentation for "mkifs" in the QNX Neutrino Utilities Reference.################################################################################# NOTES:########################################################################################################################################################## START OF BUILD SCRIPT###########################################################################[image=0x100000][virtual=ppcbe,raw] .bootstrap = { startup-85x0ads -v ####################################################################### ## PATH set here is the *safe* path for executables. ## LD_LIBRARY_PATH set here is the *safe* path for libraries. ## i.e. These are the paths searched by setuid/setgid binaries. ## (confstr(_CS_PATH...) and confstr(_CS_LIBPATH...)) ####################################################################### PATH=:/proc/boot:/bin:/usr/bin LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll procnto-booke -v}[+script] startup.script = { procmgr_symlink ../../proc/boot/libc.so.2 /usr/lib/ldqnx.so.2 display_msg Welcome to QNX Neutrino 6.3 on the PowerPC 8548CDS board ####################################################################### ## SERIAL driver ## 396000000 corresponds to the CCB clock frequency, which may change ## depending upon board dip switch settings. ####################################################################### devc-ser8250-mpc8540 -e -c396000000 -b115200 0xe0004600,26 waitfor /dev/ser1 reopen /dev/ser1 slogger pipe ####################################################################### ## PCI server (Configure the available interrupts for the ## Rev X3 Arcadia motherboard (see PCI section below for more info) ####################################################################### # display_msg Starting PCI server... # # pci-mpc85xx -dmpc85xx x3 # waitfor /dev/pci 4 ####################################################################### ## NETWORK driver ## - substitute your IP address for 1.2.3.4 ## - substitute your mac address for 001100111111 ####################################################################### # display_msg Starting on-board ethernet with large TCP/IP stack... # # io-net -dmpc85xx mac=001100111111,verbose -ptcpip # waitfor /dev/socket 15 # ifconfig en0 1.2.3.4 ####################################################################### ## REMOTE_DEBUG (gdb or Momentics) ## - refer to the help documentation for the gdb, qconn and the IDE ## for more information on remote debugging ## - the commands shown require that NETWORK is enabled too ####################################################################### # devc-pty # waitfor /dev/ptyp0 4 # waitfor /dev/socket 4 # qconn port=8000 ####################################################################### ## FLASH driver ## - Bank 1 is at 0xFF800000 - 0xFFFFFFFF (contains boot rom) ## - Bank 2 is at 0xFF000000 - 0xFF7FFFFF ## ####################################################################### # display_msg Starting flash driver... # devf-generic -s0xff000000,16M ####################################################################### ## These env variables are inherited by all the programs which follow ####################################################################### SYSNAME=nto TERM=qansi HOME=/ PATH=:/proc/boot:/bin:/usr/bin:/opt/bin LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib [+session] ksh &}[type=link] /bin/sh=/proc/boot/ksh[type=link] /dev/console=/dev/ser1[type=link] /tmp=/dev/shmemlibc.sofpemu.so.2############################################################################# uncomment for NETWORK driver############################################################################ devn-mpc85xx.so# libsocket.so# npm-tcpip.so[data=c]devc-ser8250-mpc8540############################################################################# uncomment for PCI server############################################################################ pci-mpc85xx# pci############################################################################# uncomment for NETWORK driver############################################################################ io-net# ifconfig# nicinfo# netstat# ping############################################################################# uncomment for REMOTE_DEBUG (gdb or Momentics)############################################################################ devc-pty# qconn# /usr/bin/pdebug=pdebug############################################################################# uncomment for FLASH driver############################################################################ devf-generic# flashctl############################################################################# general commands###########################################################################lskshpipepidinunamesloggersloginfoslay############################################################################# END OF BUILD SCRIPT########################################################################################################################################################## CONFIGURING ON-BOARD SUPPORTED HARDWARE:####-------------------------------------------------------------------------#### SERIAL: UART## recommended buildfile commands:## devc-ser8250-mpc8540 -e -c396000000 -b115200 0xe0004600,26## waitfor /dev/ser1## reopen /dev/ser1#### required binaries:## devc-ser8250####-------------------------------------------------------------------------#### PCI:## recommended buildfile commands:#### Using Arcadia Rev X2B motherboard:## pci-mpc85xx -dmpc85xx x2b## waitfor /dev/pci 4## Using Arcadia Rev X3 motherboard:## pci-mpc85xx -dmpc85xx x3## waitfor /dev/pci 4#### required binaries:## pci-mpc85xx## pci####-------------------------------------------------------------------------#### NETWORK: MPC85xx Gigabit Controller## recommended buildfile commands:## io-net -dmpc85xx mac=xxxxxxxxxxxx,verbose -ptcpip## waitfor /dev/socket 15## ifconfig en0 1.2.3.4#### required libraries:## devn-mpc85xx.so## libsocket.so## npm-tcpip.so#### required binaries:## io-net## ifconfig## nicinfo## netstat####-------------------------------------------------------------------------#### FLASH:## recommended buildfile commands:## devf-generic -s0xff000000,16M#### required binaries:## devf-generic## flashctl#### recommended extra commands:## # creating a flash partition## # 1. erase the flash## flashctl -p/dev/fs0 -l1M -ve## # 2. format the new partition## flashctl -p/dev/fs0p0 -l1M -vf## # 3. slay, then restart the driver to mount the new partition## slay devf-generic## devf-generic -s0xff000000,16M## # 4. you should find a /fs0p0 directory automounted############################################################################################################################################################ INTERRUPT MAP################################################################################# NYI:#############################################################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -