Hello there, long time OpenWRT user first time poster. I am using 19.07.7
I have a Netgear R6230 that OpenWRT is installed on. OpenWRT doesn't actually have a firmware for the R6230 but It's hardware is nearly identical to the R6220 so it's recommended to use the R6220 firmware and indeed this works great! With one issue that is... Here is link to TOH and more info on the R6230: https://openwrt.org/toh/netgear/netgear_r6230
The 6220/6230 both have 20Mb of free space for files and Entware packages following an OpenWRT installation, however they also both have a partition labeled MTD5 which is 60MB in size and is not mounted by the default OpenWRT firmware. If one wishes to use this partition then is required to mount it for the first time manually and setup auto-mount scripting for thereafter. There is also other empty and or unused partitions but I will talk about those farther down... Anywho, I try to mount MTD5 like the instructions say here:
I get an error halfway through that I am not able to overcome. I have tried duckduckgoing the problem as well as searching this forum and have obviously turned up nothing I can use. I am sure the solution is out there but I am unable to find it by myself.
So I humbly ax the Gods of OpenWRT for help in my quest for an extra 60+MB....
What does this mean and how can I fix this? Thank you all for any help you can give.
And finally my last query for info. This router has more partitions of empty space besides this one block of 60MB.
If you look on https://openwrt.org/toh/netgear/netgear_r6220
you will see that after MTD3 there is nearly 90MB of empty space and unused partitions! And the best part is that they are contiguous. Is there a way to erase all of them and replace them with 1 super partition so I can have all that lost and unused space? That would give me an extra 90MB of space compared to the default OpenWRT firmware,
The only partition I am not sure on is the partition labeled factory thats 1MB in size. I think it has OEM Netgear stuff but I am not positive. I don't mind erasing that if it wont brick me as I will never put this router back to stock firmware. It's going to stay on OpenWRT or at the very least, DD-WRT until it croaks. The factory firmware is as you may expect very stripped down and almost no option available.
But this is auxiliary and my main goal is mounting and using MTD5 for now. Please help!
I will point out that the 60M partition is read-only in the DTS's
I'm not sure what the criteria on these things are
but most of the area marked as unused & reserved (that are blank)
should be able to be concatenated into usable area
I don't think you could make a factory image the full size only the area until the factory partition
but for sysupgrade & usable space it could be allocated
the factory flashing will have limits maybe this is why 0x2200000 to 0x2e00000 is not allocated
0x2F00000 > 0x4200000 not sure what this is but stated as unused
0x4200000 with 0x3C00000 only goes to 0x7E00000
so 0x7E00000 to 0x7FFFFFF is not allocated
yes and yes although I haven't done any compiling in a few years so I'd be rusty at this point. I dont have any windows computers for nmrpflash.exe though so I use the linux version of nmrpflash but its basically the same thing. Saved my bacon many times. Does anyone know the reason the OpwnWRT TOH for the R6220 cautions not to use nmrpflash with OpenWRT images, only oem firmwares? Ive only ever used nmrpflash with OpenWRT, dont think ive ever flashed a oem firmware with it lol... Never had an issue either...
Yes, I was able to figure out what needed to be done to get the MTD5 to be writable. Now I need to figure out how to merge it with the partition opkg saves stuff to.
I had a go trying to use the fwconcat to concatenate the flash
seemed to boot OK says I had 77M but while initializing it
it keeps killing itself & would not boot up next time
good luck! Do you have a ch341a programmer with sop-8 clip? If not, please consider it! You can get them from amazon for about 10 bucks and then you are literally brick proof. I've used one dozens of times to rescue bad bios flashes, bricked routers, etc. Also made a full backup of my R6230 before going to OpenWRT and also before upgrading to the breed bootloader.
yes I have tho it's easy to do with the nor chips
but there are lots of pins on a NAND
but have not had to recover the boot loader yet
tho I do have it all backed up
Thanks but I am going to have to give up for now and retire the R6230 as a stupid access point in my garage so my car has good WiFi conn for downloading operating system and map updates. Its not ideal but until I can consolidate the space on the rom I cant use it how I would like to.
this work now what ever problem there was has been fixed
but you do have to go back to netgear firmware 1st
due to the ubi change or at lest i don't know a way around it
gives you 76.6M free space
I dont quite understand that. Are you saying that I need to flash the latest netgear firmware because it makes changes to the file system which increases the partition size for the partition which OpenWRT's package manager uses. Then flash back to OpenWRT and I should have 76.6MB free space for OPKG?
if you just upgrade openwrt will try to use the old ubi partition & fail
I don't know how to get it to reformat this any other way
if you load the factory firmware 1st then openwrt
it will re format's the qbi correctly to the new size
it will add the 60MB partition to the current room
oh any version of netgear firmware
Hi I don't have one so i can't test it or look if there is anything there
but I can change the file for you to test ?
how's the recovery is it that same as with the R6220 ?
do backup all your flash partitions you need to do this to see if there blank anyway
this would most likely need to be flashed as a factory file due to partition charges