4.3 Boot Loader Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
the boot software is a program whose primary function is to: load the OneOs binary in SDRAM memory boot parameters specify where the binary must be found: in Flash on the LAN verify the binary checksum uncompress the binary execute the OneOs software boot software allows to load a OneOs binary from a LAN using FTP or TFTP the boot configuration is case-sensitive Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
<== Press CTRL+O to interrupt auto-boot boot software auto-boot software a router cannot reboot if the file /BSA/binaries/OneOs is invalid or not found in that case the boot-process comes in a loop the ‘auto-boot’ can be interrupted by pressing « CTRL+O » : <== Press CTRL+O to interrupt auto-boot Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
boot parameter settings Values & format Meaning boot device Fastethernet0 Ethernet interface for FTP/TFTP traffic processor number not used host name any string hostname of server file name <path>/<filename> file to load inet on ethernet (e) A.B.C.D. IP address of ethernet interface inet on backplane (b) - host inet (h) IP address of the server user (u) FTP user name ftp password (pw) FTP password flags (f) 0x00000000 boot options target name local hostname startup script other Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
boot help menu: commands boot menu help (1) boot help menu: commands Syntax : h or ? The commands ‘h’ or ‘?’ display the boot help menu: Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
boot help menu: flags boot menu help (2) the flag specifies how the "auto-boot" will be executed Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
boot flags examples boot flags flag structure: 0 x 0 0 0 0 0 0 0 0 when the boot process is stopped by « CTRL+O » the way the software will be loaded depends on the flag: 0x00000000: boot from flash with countdown: /BSA/binaries/OneOS 0x00000008: boot from flash without countdown: /BSA/binaries/OneOS 0x00001000: boot from network via FTP with countdown 0x00001008: boot from network via FTP without countdown 0x00001080: boot from network via TFTP with countdown 0x00001088: boot from network via TFTP without countdown 0: countdown 8: no countdown 0: FTP 8: TFTP 0: start from FLASH 1: start from network Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
configuring boot parameters configuring / changing the boot flags stop the boot process by « CTRL+O » [Boot Loader]: c '.' = clear field; '-' = go to previous field; ^D = quit boot device : FastEthernet0 processor number : 0 host name : file name : C:\one180 c:\OneOS\ONEOS5-SIP.ZZZ inet on ethernet (e) : 192.168.1.10 inet on backplane (b): host inet (h) : 192.168.25.10 192.168.1.1 user (u) : oa test ftp password (pw) (blank = use rsh): oa test flags (f) : 0x10000008 target name (tn) : startup script (s) : other (o) : [Boot Loader]: Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
boot from flash booting from flash from [Boot Loader] prompt : use command " f " followed by software file location & file name file name must have extension .ZZZ example: Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
booting from network using FTP booting with FTP (1) booting from network using FTP flag: 0x00001008 or 0x0001000 command « n » : load software in RAM example: Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
booting from network using FTP booting with FTP (2) booting from network using FTP flag: 0x00001008 or 0x0001000 command « g » : load software in flash and rename to OneOs example: Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com
booting from network using TFTP booting with TFTP booting from network using TFTP set related flags: 0x00001080 or 0x00001088 example: command « n » loads software in RAM command « g » loads software in flash Copyright © OneAccess Networks - All rights reserved - www.oneaccess-net.com