Flash from any subnet — the bootloader IP is now configurable (v3.7.0) #115
jnilo1
announced in
5. 📢 Announcements (Maintainers only)
Replies: 1 comment 5 replies
|
Is the new bootloader installed with ./flash_install_rtl8196e.sh? |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
You asked, it's in. A couple of you ran into the same wall:
As of v3.7.0 (bootloader V2.7), the download-mode / TFTP server IP is no longer hard-wired to
192.168.1.6and you don't have to recompile anything.How it works
When the flash scripts send the gateway into bootloader mode, they hand the desired IP to the bootloader through a small reserved DRAM page (the same mechanism
bootholdalready uses for the reboot-to-bootloader flag). The bootloader reads it on the next reset and brings up download mode on that address.192.168.1.6.IPCONFIGcommand still works at the prompt for the cold-boot case.Using it
Just pass
--boot-ipto the flash scripts (or set theBOOT_IPenv var):# gateway and PC both on a 192.168.0.x LAN, no serial console needed ./flash_install_rtl8196e.sh --boot-ip 192.168.0.6 192.168.0.88 ./flash_remote.sh --boot-ip 192.168.0.6 kernel 192.168.0.88The flag is available from v3.7.0; the in-bootloader handoff needs V2.7, which v3.7.0 installs.
Thanks @flowjob1 and @jlayec for the clear write-ups.
All reactions