Chadster766 / McDebian

Linksys WRT3200ACM, WRT1900AC, WRT1900ACS, WRT1200AC and WRT32X Router Debian Implementation
98 stars 14 forks source link

hdd boot image #53

Closed Lovator closed 5 years ago

Lovator commented 5 years ago

Using a TTL-UART cable, I can set the boot priority from the hard disk.

setenv nandboot 'scsi init;ext4load scsi 0:1 $defaultLoadAddr kernel;bootm $defaultLoadAddr' setenv altnandboot 'scsi init;ext4load scsi 0:1 $defaultLoadAddr kernel;bootm $defaultLoadAddr' saveenv

Is it possible to run McDebian from a hard disk without delete partitions mtd4-mtd7 on nand memory ?

Chadster766 commented 5 years ago

Yes if you have TTL access to the WRT. I think its as easy as setting the u-boot envar for recovery to 0. This disables the boot count.

Lovator commented 5 years ago

Yes i have a TTL. Please tell me how to write McDebian to hard drive ?

I want to experiment a bit with mcdebian, and I don’t want to touch the firmware is on nand. I connected the hard drive, McDebian booted, disconnected the hard drive, the stock firmware booted. You can build the build kernel to write to the hard disk in ext4 file system for wrt1200ac ?

Chadster766 commented 5 years ago

Are you good to go then?

Chadster766 commented 5 years ago

McDebian supports the WRT1200. The wiki has the details you are looking for.

Lovator commented 5 years ago

I just need to burn the mcdebian-stretch-router-WRT-1900-1200-3200-32x-Kernel_4_19_12-base.gz image to my hard drive and connect it to the router and McDebian-Stretch-WRT1200AC-V1-FW_VER1_kernel_4.19.12.img does not need to be written to nand ?

Chadster766 commented 5 years ago

Yes the kernel is in the firmware which uses the rootfs on the drive.

Lovator commented 5 years ago

link is not available http://www.protechs-online.com/downloads/McDebian/rootfs/mcdebian-stretch-router-wrt-1900-1200-3200-32x-Kernel_4_19_12-base.gz I can not download file

Chadster766 commented 5 years ago

Are you using wget?

Chadster766 commented 5 years ago

Thanks i will look into right away.

Lovator commented 5 years ago

Yes, but also tried through the browser with the login and password

Chadster766 commented 5 years ago

I can't believe I had another typo in the URL. Please try again :confused:

Chadster766 commented 5 years ago

http://www.protechs-online.com/downloads/McDebian/rootfs/mcdebian-stretch-router-wrt-1900-1200-3200-32x-kernel_4_19_12-base.gz

Lovator commented 5 years ago

thanks link earned !!!