![]() ![]() NOTE: This worked on the SRX100 firewall, not sure if these values are correct for other platforms, proceed at your own risk.How to boot bare board binary from U-Boot? To view the current variables: => printenv To modify a value, so it can align with the ones attached: => setenv Attached are the options that I am using and the command in specific that made it go from u-boot '=>' prompt to 'loader>' where I used TFTP to move on further with the upgrade: => setenv bootcmd=cp.b 0xbfe00000 0x100000 0x100000 bootelf 0x100000Īfter pressing ENTER, the 'loader>' started and I loaded an image for the platform. ![]() So I bought another working SRX100 and I run a comparison of the varibles, and surprise - I had to modify several. The SRX I bought was no longer under support and I totally knew it was something with the environment options in this u-boot, which was preventing it to go to 'loader>' but nowhere could I find an example of the working set of options. Here's what I did after being stuck in uboot for a long time. SRX_240H2 board revision major:2, minor:11, serial #: ACLT4470 Initializing memory this may take some time. => bootloader upgrade u-boot active 0x100000 Copy the uboot and loader_crc files to the SRX using the below sequence of commands (output below)īootloader upgrade u-boot active 0x100000 Verify that the files can be seen on the flash driveħ. When presented with the following U-Boot message press the space bar to enter the U-Boot loaderĦ. Insert the flash drive into the USB slot 0 on the SRX and boot up the deviceĥ. Copy the JUNOS image (.tgz file), the uboot, and loader_crc on to the flash driveĤ. Download the JUNOS OS Image and obtain the boot loader files via the procedure listed at ģ. ![]() Format a flash drive using the FAT filesystemĢ. Write64l - write 32 bit word to 64 bit addressĪs I had the same issue as the original poster I wanted to post up my solution for future readers needs:ġ. Write64b - write 8 bit word to 64 bit address Write64 - write 64 bit word to 64 bit address Tftpboot- boot image via network using TFTP protocol Saveenv - save environment variables to persistent storage Run - run commands in an environment variable Read_cmp - read and compare memory to val Read64l - read 32 bit word from 64 bit address Read64b - read 8 bit word from 64 bit address Read64 - read 64 bit word from 64 bit address Rarpboot- boot image via network using RARP/TFTP protocol Protect - enable or disable FLASH write protection Ping - send ICMP ECHO_REQUEST to network host Pci - list and access PCI Configuration Space Nfs - boot image via network using NFS protocol Loady - load binary file over serial line (ymodem mode) Loads - load S-Record file over serial line Loadb - load binary file over serial line (kermit mode) Itest - return true/false on integer compare Iminfo - print header information for application image Simple executive applications, use bootoct for those.īootoctlinux - Boot from a linux ELF image in memoryīootp - boot image via network using BootP/TFTP protocolĬoninfo - print console devices and informationĭhcp - invoke DHCP client to obtain IP/boot paramsįatinfo - print information about filesystemįatload - load binary file from a dos filesystemįatls - list files in a directory (default /) Thank you for your reply but i'm afraid I don't even have the loader available.Īskenv - get environment variables from stdinīootd - boot default, i.e., run 'bootcmd'īootelf - Boot from an ELF image in memoryīootm - boot application image from memoryīootoct - Boot from an Octeon Executive ELF image in memoryīootoctelf - Boot a generic ELF image in memory. I hope someone from the forums can help me on this one? They gave me the upgrade procedure with a usb stick. I logged a case with support but as always they are no help what so ever. I have seen there is also a usbboot option but I have no idea on how to implement it. I suspect it is related to this error: Net: octeth0 I have found many posts referencing to this issue and this KB:īut it seems that I can't do any TFTP (tftpboot command). Press SPACE to abort autoboot in 1 seconds Switch driver image not programmed properly in bootflash ![]() OCTEON CN5230R-SCP pass 2.0, Core clock: 600 MHz, DDR clock: 333 MHz (666 Mhz data rate) SRX_240_HIGHMEM board revision major:1, minor:42, serial #: AABX1828 When I boot the device I just get dropped in the u-boot: U-Boot 1.1.6-JNPR-1.7 (Build time: 06:59:58) I have an SRX-240H which has no operating system anymore expect u-boot. I could really use your help on this one. ![]()
0 Comments
Leave a Reply. |