United Networking 4 3 Boot Loader www oneaccessnet
United Networking 4. 3 Boot Loader www. oneaccess-net. com contact@oneaccess-net. com * Copyright © One. Access Networks – All rights reserved
boot software U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n the boot software is a program whose primary function is to: o load the One. Os binary in SDRAM memory l o o o n n boot parameters specify where the binary must be found: ¡ in Flash ¡ on the LAN verify the binary checksum uncompress the binary execute the One. Os software boot software allows to load a One. Os binary from a LAN using FTP or TFTP the boot configuration is case-sensitive 2
boot software U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n auto-boot software o o o a router cannot reboot if the file /BSA/binaries/One. Os 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 3
boot parameter settings U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n boot parameters: Parameter Values & format Meaning boot device Fastethernet 0 Ethernet interface for FTP/TFTP traffic processor number 0 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) - not used host inet (h) A. B. C. D. IP address of the server user (u) any string FTP user name ftp password (pw) any string FTP password flags (f) 0 x 0000 boot options target name any string local hostname startup script - not used other - not used 4
boot menu help (1) U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n boot help menu: commands Syntax : h or ? The commands ‘h’ or ‘? ’ display the boot help menu: 5
boot menu help (2) U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n boot help menu: flags o the flag specifies how the "auto-boot" will be executed 6
boot flags U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n boot flags examples o flag structure: l 0 x 0 0 0 0 0: countdown 8: no countdown 0: FTP 8: TFTP 0: start from FLASH 1: start from network o when the boot process is stopped by « CTRL+O » the way the software will be loaded depends on the flag: l l l 0 x 0000: boot from flash with countdown: /BSA/binaries/One. OS 0 x 00000008: boot from flash without countdown: /BSA/binaries/One. OS 0 x 00001000: boot from network via FTP with countdown 0 x 00001008: boot from network via FTP without countdown 0 x 00001080: boot from network via TFTP with countdown 0 x 00001088: boot from network via TFTP without countdown 7
configuring boot parameters U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n configuring / changing the boot flags o stop the boot process by « CTRL+O » [Boot Loader]: c '. ' = clear field; '-' = go to previous field; ^D = quit boot device : Fast. Ethernet 0 processor number : 0 host name : file name : C: one 180 c: One. OSONEOS 5 -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) : 0 x 10000008 target name (tn) : startup script (s) : other (o) : [Boot Loader]: 8
booting from flash U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n boot from flash o from [Boot Loader] prompt : l l l use command " followed by software file location & file name must have extension. ZZZ example: 9
booting with FTP (1) U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n booting from network using FTP o o o flag: 0 x 00001008 or 0 x 0001000 command « n » : load software in RAM example: 10
booting with FTP (2) U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n booting from network using FTP o o o flag: 0 x 00001008 or 0 x 0001000 command « g » : load software in flash and rename to One. Os example: 11
booting with TFTP U n i t e d N e t w o r k i n g U n i t e d N e t w o r k i n g n booting from network using TFTP o set related flags: l 0 x 00001080 or 0 x 00001088 o example: o command « n » loads software in RAM command « g » loads software in flash o 12
- Slides: 12