📄 build
字号:
############################################################################### QNX Neutrino trunk on the Centrality Communications Atlas-II Board################################################################################# SUPPORTED DEVICES:#### SERIAL: UART0## NETWORK: (tiny stack)## FLASH: 32MB ## IDE: IDE interface## COMPACT FLASH: Compact flash interface#### - 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=0xC0200000][virtual=armle,binary +compress] .bootstrap = { startup-atlasii -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:/tmp procnto -v}[+script] .script = { procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2 display_msg Welcome to QNX Neutrino trunk on the Centrality Communications Atlas-II Board ####################################################################### ## SERIAL driver ####################################################################### devc-seratlasii -e -F -b115200 waitfor /dev/ser1 4 reopen /dev/ser1 slogger & pipe & ####################################################################### ## NETWORK driver (tiny stack) ## - substitute your IP address for 1.2.3.4 ####################################################################### # display_msg Starting on-board ethernet with TCP/IP stack... # # io-pkt-v4 -dne2000 ioport=0x14000000,irq=205 -ptcpip # waitfor /dev/io-net/en0 4 # 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 ####################################################################### # devc-pty & # waitfor /dev/ptyp0 4 # waitfor /dev/socket 4 # qconn port=8000 ####################################################################### ## uncomment for Audio support ####################################################################### #io-audio -d deva-ctrl-atlasii_ac97.so -vvvvv ####################################################################### ## uncomment for USB support ####################################################################### # io-usb -d atlasii ioport=0x57f00000,irq=17 ####################################################################### ## uncomment for USP support (USP 1--5) ####################################################################### #For USP 1 # devc-seratlasii_usp -F -b38400 -u3 0x80010000,21,1 #For USP 2 # devc-seratlasii_usp -F -b38400 -u3 0x80020000,22,2 #For USP 3 # devc-seratlasii_usp -F -b38400 -u3 0x80030000,23,3 #For USP 4 # devc-seratlasii_usp -F -b38400 -u3 0x80040000,400,4 #For USP 5 # devc-seratlasii_usp -E -F -b38400 -u3 0x80050000,401,5 ####################################################################### ## GRAPHICS driver ####################################################################### #display_msg Starting Graphics driver... #io-display -dvid=0,did=0 #waitfor /dev/io-display 10 ####################################################################### ## SD memory card driver ####################################################################### # display_msg Starting SD Driver # devb-sd-atlasii sd nodma,sg,bs=evb ####################################################################### ## i2c driver ####################################################################### # i2c-atlasii ####################################################################### ## NAND FLASH driver, example only use the top 64MB of the 128MB (the bottom 3 block used by NBOOT and IPL) ####################################################################### # display_msg Starting NAND flash driver... # fs-etfs-atlasii512 -r65536 -m /fs/etfs ####################################################################### ## These env variables are inherited by all the programs which follow ####################################################################### SYSNAME=nto TERM=qansi HOME=/ PATH=:/proc/boot:/bin:/usr/bin:/opt/bin:/sbin LD_LIBRARY_PATH=:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/usr/photon/lib:/tmp [+session] sh &}[type=link] /bin/sh=/proc/boot/ksh[type=link] /dev/console=/dev/ser1[type=link] /tmp=/dev/shmem[prefix=/proc/boot]libc.so############################################################################# uncomment for legacy binary support (Momentics 6.3.2 and earlier) ############################################################################libc.so.2############################################################################# uncomment for NETWORK driver (tiny stack)############################################################################devn-ne2000.so#libsocket.so#devnp-shim.so############################################################################# uncomment for Graphics support############################################################################[prefix=/usr/lib]#libGLES_CM.so.1#libffb.so.2#[prefix=/lib/dll]#devg-atlasii.so#libgf.so.1############################################################################# uncomment for Image Loading############################################################################[prefix=/lib/dll]#img_codec_bmp.so#img_codec_gif.so#img_codec_jpg.so#img_codec_png.so#img_codec_sgi.so#img_codec_tga.so############################################################################# uncomment for Font loading############################################################################[prefix=/lib]#libFF-T2K.so.2[prefix=/proc/boot]############################################################################# uncomment for Audio support############################################################################deva-ctrl-atlasii_ac97.so#libasound.so.2#deva-util-restore.so#deva-mixer-ac97.so############################################################################# uncomment for USB support############################################################################libusbdi.so#devu-atlasii.so############################################################################# uncomment for i2c support############################################################################i2c-atlasii############################################################################# uncomment for devb driver############################################################################libcam.so#io-blk.so#cam-disk.so#fs-qnx4.so#fs-dos.so[data=c]devc-seratlasii############################################################################# uncomment for USP serial driver support############################################################################devc-seratlasii_usp############################################################################# uncomment for Audio support############################################################################io-audio#mix_ctl#wave#waverec############################################################################# uncomment for NETWORK driver (tiny stack)############################################################################io-pkt-v4#ping#nicinfo#fs-nfs2#ifconfig############################################################################# uncomment for REMOTE_DEBUG (gdb or Momentics)############################################################################devc-pty#qconn#/usr/bin/pdebug=pdebug############################################################################# uncomment for USB support############################################################################io-usb#usb#devu-kbd#devb-umass#devu-mouse######################################################################### uncomment for SD memory card driver########################################################################devb-sd-atlasii ############################################################################# uncomment for GF io-display############################################################################/sbin/io-display=io-display#/etc/system/config/display.conf={#device \{# drivername=atlasii# vid=0# did=0# display \{# xres=800# yres=480# refresh=60# pixel_format=rgb565# \}# \}#device \{# drivername=atlasii# vid=0# did=1# modeopts=/etc/system/config/atlasii.conf# display \{# xres=240# yres=320# refresh=60# pixel_format=rgb565# \}# \}#}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -