Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:tp-link:x80-5g_v1 [2024/08/12 23:48] – [OpenWrt bootlog] replace initramfs boot log with OpenWrt booting from mtd12 professor_jonny | inbox:toh:tp-link:x80-5g_v1 [2024/08/13 00:34] – [Installing OpenWrt factory.ubi part 2 of 2] professor_jonny | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| * OpenWrt forum thread: (https:// | * OpenWrt forum thread: (https:// | ||
| * WIP Private Git hub branch: (https:// | * WIP Private Git hub branch: (https:// | ||
| - | * Initramfs Test Image: (https:// | ||
| - | /*** | + | |
| ===== Experimental firmware ===== | ===== Experimental firmware ===== | ||
| - | //List experimental firmware download links here.// | ||
| - | //None at this time.// | + | * Initramfs Test Image: (https://github.com/professor-jonny/images/ |
| + | * factory | ||
| - | * External image (add link) | ||
| - | * trunk image (add link) | ||
| - | * ... | ||
| - | ***/ | ||
| Line 70: | Line 67: | ||
| - | /*** if info available: uncomment and fill in | + | |
| ===== Installation ===== | ===== Installation ===== | ||
| - → [[: | - → [[: | ||
| Line 76: | Line 73: | ||
| - → [[: | - → [[: | ||
| - | ==== Installing OpenWrt ==== | + | ==== Installing initramfs image part 1 of 2==== |
| - | ***/ | + | |
| - | + | ||
| - | ==== Installing initramfs image ==== | + | |
| - Download and copy the initramfs image to your PC's TFTP server folder. | - Download and copy the initramfs image to your PC's TFTP server folder. | ||
| - | - connect up your serial port and set up a connection with a terminal program such as putty | + | - connect up your serial port and set up a connection with a terminal program such as SmarTTY |
| - | - Plug the router into your computer using an ethernet cable. | + | - Plug the router into your computer using an ethernet cable |
| + | - set your pc's IP address to the below settings: | ||
| + | - static 192.168.1.2. | ||
| - power the router and quickly type the magic string " | - power the router and quickly type the magic string " | ||
| - | - set environment variables | + | - in the shell set the environment variables |
| - | - run (tftpboot 0x44000000 ipaddr: | + | - setenv ipaddr |
| + | - setenv serverip | ||
| + | - In the shell run the below command | ||
| + | - this will load your image to memory as location 044000000 in ram | ||
| + | - tftpboot 0x44000000 192.168.1.2: | ||
| - your image will now upload to your ram ready to boot. | - your image will now upload to your ram ready to boot. | ||
| - run (bootm) and your image will now load. | - run (bootm) and your image will now load. | ||
| + | ==== Installing OpenWrt factory.ubi part 2 of 2 ==== | ||
| + | - Download a copy of the factory.ubi to your pc | ||
| + | - set up a ssh/scp session to your router with a program such as SmarTTY. | ||
| + | - upload the factory.ubi to /tmp on your router | ||
| + | - in the console run the below command: | ||
| + | - ubiformat /dev/mtd12 -y -f / | ||
| + | - wait for it to complete and reboot your router. | ||
| Line 4615: | Line 4622: | ||
| [[meta: | [[meta: | ||
| {{tag> | {{tag> | ||
| + | |||
| + | |||
| + | |||