Davidc502- wrt1200ac wrt1900acx wrt3200acm wrt32x builds

Hi i am getting the Odd hang on my WRT32x and re-clicking the link/menu does get it resolved.
Its the same with login i have to spam the login button before it shows the main menu.

Other then that i don't have any reboot issues or any other issues yet.

None here. 1900ACS V2. I'm using the Material Theme if that would make a difference.

BTW...Thanks for all you do.

1 Like

Sorry, did not see your reply earlier.
When I flashed the Uboot from 3200ACM model, I did not change anything. Basically I used the "kwboot" method through my USB to TTL cable. Then I flashed mtd0 by TFTP method. After that, the router was no longer recognized as being a 32X model, but was a pure 3200ACM one. You can try it by yourself if you also have one 32X.
I do believe vice-versa same can done, so users with 3200ACM can flash Uboot with 32X .bin file.

That would be great. Let me know about your progresses when you have time. Have already asked for my friend to look at this, so hopefully will have something operational soon.
That will be definitely usefull, otherwise, we have no clue about what are the partitions are installed (if multiple) like happens at the 3200ACM, where it shows exactly the name and version of installed image.

Anther weird thing I found is, each time I update firmware, I always pick the option on small box to keeping settings after update, but actually it does not happen, so each time an update is performed, everything regarding the extra packages installed are lost and have to install everything from scratch.
Is there anything else to do to prevent this happen ? Or am I messing something on my end ?

Yes, packages are not saved between updates, and this is for the reason.
I just have a script on external drive, and run it after update to remove and install packages i need.

yes, in especia in Goole Chrome in safari works fine

1 Like

Andrew – thank you for your followup.

However –

I flashed the uboot100, but then the router would not boot.

Uboot threw continuous ‘bad header’ messages, rebooted itself, and could not be interrupted.

After about 10 minutes, it started looking for a boot image via uart. Do you have a compatible image and method for booting over the uart ? I thin this is kwboot’s function, but i understand there is a special image format (and I’m on windows, not linux, so don’t have access right now to kwboot)

Thoughts?

edit - i have kwboot running under windows system for linux !!!

and i can connect to the router and successfully boot the alternate partition.
i will be invenstigating possible issues, but this is a warning that simply flashing the uboot-v100-wrt3200.bin to a wrt32x may result in bricks....

I sent my WRT32x back and got a new one. 5GHz working (for now).

One thing I'm getting now is:

[    6.961790] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.971562] block: extroot: not configured
[    7.025765] mount_root: switching to ubifs overlay
[    7.153765] fuse init (API version 7.26)
[    7.264972] F2FS-fs (mtdblock7): Magic Mismatch, valid(0xf2f52010) - read(0xe2832901)
[    7.273849] F2FS-fs (mtdblock7): Can't find valid F2FS filesystem in 1th superblock
[    7.283299] F2FS-fs (mtdblock7): Magic Mismatch, valid(0xf2f52010) - read(0xe043300c)
[    7.292251] F2FS-fs (mtdblock7): Can't find valid F2FS filesystem in 2th superblock
[    7.301388] F2FS-fs (mtdblock7): Magic Mismatch, valid(0xf2f52010) - read(0xe2832901)
[    7.310545] F2FS-fs (mtdblock7): Can't find valid F2FS filesystem in 1th superblock
[    7.319635] F2FS-fs (mtdblock7): Magic Mismatch, valid(0xf2f52010) - read(0xe043300c)
[    7.328888] F2FS-fs (mtdblock7): Can't find valid F2FS filesystem in 2th superblock

On the 2nd partition its:

[    7.317811] F2FS-fs (mtdblock9): Magic Mismatch, valid(0xf2f52010) - read(0xffffffff)
[    7.326631] F2FS-fs (mtdblock9): Can't find valid F2FS filesystem in 1th superblock
[    7.336081] F2FS-fs (mtdblock9): Magic Mismatch, valid(0xf2f52010) - read(0xffffffff)
[    7.344969] F2FS-fs (mtdblock9): Can't find valid F2FS filesystem in 2th superblock
[    7.354067] F2FS-fs (mtdblock9): Magic Mismatch, valid(0xf2f52010) - read(0xffffffff)
[    7.363336] F2FS-fs (mtdblock9): Can't find valid F2FS filesystem in 1th superblock
[    7.372388] F2FS-fs (mtdblock9): Magic Mismatch, valid(0xf2f52010) - read(0xffffffff)
[    7.381642] F2FS-fs (mtdblock9): Can't find valid F2FS filesystem in 2th superblock

Is there anything I have to do?
But it seems to work otherwise.

No worries, happy to helping you on this.

Let me ask this firstable, does you router's serial no starts with 22C1, or it is different ? Just wondering because read somewhere that NAND chips have been upgraded on 3200ACM units, so just want to make sure your 32X has the same chips as mine.

I noticed you have updated your message today. Not sure if I am understanding you right, but are you running the "kwboot" on an Windows environment ? If so, are you able to run Linux using a Virtual Machine like VirtualBox ? Or better, in my case, I downloaded the full latest version image of the Ubuntu system, and installed it in a flash drive, so I do have the complete native Linux installation, full portable and free to use in any computer.

Also that's strange you are getting "bad header" messages. Forgot to bring up an important detail here, as only "kwboot-patched" worked on my end and "kwboot" was not working at all. Can you please try to use the patched version instead ?
As long as you do not try to write bin file directly to the mtd0 partition, my guesses are that you are safe to test it using kwboot, as I think it only writes NAND chip temporarily, since it is only the Bootloader section.

Are you getting something like this ? (it was taken when I finally flashed my uboot again with 32X bin file, after being flashed with 3200ACM bin one) :

*Sending boot image...*
*  0 % [......................................................................]*
*  0 % [......................................................................]*
*  1 % [......................................................................]*
*  2 % [......................................................................]*
*  3 % [......................................................................]*
*  4 % [......................................................................]*
*  5 % [......................................................................]*
*  6 % [......................................................................]*
*  7 % [......................................................................]*
*  8 % [......................................................................]*
*  9 % [...................................*
*General initialization - Version: 1.0.0*
*AVS selection from EFUSE disabled (Skip reading EFUSE values)*
*mvSysEnvIsFlavourReduced: TWSI Read of 'flavor' failed*
*Detected Device ID 6820*
*High speed PHY - Version: 2.0*
*Init RD NAS topology Serdes Lane 3 is USB3*
*Serdes Lane 4 is SGMII*
*board SerDes lanes topology details:*
* | Lane # | Speed|    Type     |*
* ------------------------------|*
* |   0    |  6   |  SATA0      |*
* |   1    |  5   |  PCIe0      |*
* |   2    |  6   |  SATA1      |*
* |   3    |  5   |  USB3 HOST1 |*
* |   4    |  5   |  PCIe1      |*
* |   5    |  0   |  SGMII2     |*
 *-------------------------------*
*:** Link is Gen1, check the EP capability *
*PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities *
*:** Link is Gen1, check the EP capability *
*PCIe, Idx 1: remains Gen1*
*High speed PHY - Ended Successfully*
*DDR3 Training Sequence - Ver TIP-1.46.0*
*mvSysEnvGetTopologyUpdateInfo: TWSI Read failed*
*DDR3 Training Sequence - Switching XBAR Window to FastPath Window *
*DDR3 Training Sequence - Ended Successfully*
*Not detected suspend to RAM indication*
*...................................]*
* 10 % [......................................................................]*
* 11 % [......................................................................]*
* 11 % [......................................................................]*
* 12 % [......................................................................]*
* 13 % [......................................................................]*
* 14 % [......................................................................]*
* 15 % [......................................................................]*
* 16 % [......................................................................]*
* 17 % [......................................................................]*
* 18 % [......................................................................]*
* 19 % [......................................................................]*
* 20 % [......................................................................]*
* 21 % [......................................................................]*
* 22 % [......................................................................]*
* 22 % [......................................................................]*
* 23 % [......................................................................]*
* 24 % [......................................................................]*
* 25 % [......................................................................]*
* 26 % [......................................................................]*
* 27 % [......................................................................]*
* 28 % [......................................................................]*
* 29 % [......................................................................]*
* 30 % [......................................................................]*
* 31 % [......................................................................]*
* 32 % [......................................................................]*
* 33 % [......................................................................]*
* 33 % [......................................................................]*
* 34 % [......................................................................]*
* 35 % [......................................................................]*
* 36 % [......................................................................]*
* 37 % [......................................................................]*
* 38 % [......................................................................]*
* 39 % [......................................................................]*
* 40 % [......................................................................]*
* 41 % [......................................................................]*
* 42 % [......................................................................]*
* 43 % [......................................................................]*
* 44 % [......................................................................]*
* 44 % [......................................................................]*
* 45 % [......................................................................]*
* 46 % [......................................................................]*
* 47 % [......................................................................]*
* 48 % [......................................................................]*
* 49 % [......................................................................]*
* 50 % [......................................................................]*
* 51 % [......................................................................]*
* 52 % [......................................................................]*
* 53 % [......................................................................]*
* 54 % [......................................................................]*
* 55 % [......................................................................]*
* 55 % [......................................................................]*
* 56 % [......................................................................]*
* 57 % [......................................................................]*
* 58 % [......................................................................]*
* 59 % [......................................................................]*
* 60 % [......................................................................]*
* 61 % [......................................................................]*
* 62 % [......................................................................]*
* 63 % [......................................................................]*
* 64 % [......................................................................]*
* 65 % [......................................................................]*
* 66 % [......................................................................]*
* 66 % [......................................................................]*
* 67 % [......................................................................]*
* 68 % [......................................................................]*
* 69 % [......................................................................]*
* 70 % [......................................................................]*
* 71 % [......................................................................]*
* 72 % [......................................................................]*
* 73 % [......................................................................]*
* 74 % [......................................................................]*
* 75 % [......................................................................]*
* 76 % [......................................................................]*
* 77 % [......................................................................]*
* 77 % [......................................................................]*
* 78 % [......................................................................]*
* 79 % [......................................................................]*
* 80 % [......................................................................]*
* 81 % [......................................................................]*
* 82 % [......................................................................]*
* 83 % [......................................................................]*
* 84 % [......................................................................]*
* 85 % [......................................................................]*
* 86 % [......................................................................]*
* 87 % [......................................................................]*
* 88 % [......................................................................]*
* 88 % [......................................................................]*
* 89 % [......................................................................]*
* 90 % [......................................................................]*
* 91 % [......................................................................]*
* 92 % [......................................................................]*
* 93 % [......................................................................]*
* 94 % [......................................................................]*
* 95 % [......................................................................]*
* 96 % [......................................................................]*
* 97 % [......................................................................]*
* 98 % [......................................................................]*
* 99 % [......................................................................]*
* 99 % [....]*
[Type Ctrl-\ + c to quit]
U-Boot 2013.01 (May 18 2017 - 16:37:44) Marvell version: 2015_T1.QA.0p16
Boot version : v2.0.9
Board: RD-NAS-88F6820-DDR3
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1866 [MHz]
       L2     @ 933 [MHz]
       TClock @ 200 [MHz]
       DDR3    @ 933 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB
NAND:  256 MiB
MMC:   mv_sdh: 0
First booting, write default data (devinfo) to flash...
Erasing Nand...
Erasing at 0x800000 -- 100% complete.
Writing to Nand... done

Right, but actually I thought the "Keep settings" box does that function of saving our entire configuration, as well as all extra packages installed.
Looks like will need to create a script like you have to avoid loosing my configuration over and over after each update.
Thanks for your help

yes, on linux for windows, kwboot works fine. and kwboot-patched works also.

my first attempt, and subsequents, are basically the same as your log, except these responses are missing from my router after uboot uploads:

First booting, write default data (devinfo) to flash...

this gives me a hint. thank you for your help.

Please understand the difference. "Keep settings" saves configuration. All of it, including you installed packages configuration (in fact, i post some issues - they also save some unnecessary hardware configs as well).
So if you return packages back after upgrade - you don't need (in most cases) to set them up again.

I can share my simple script to install packages back for you, if you wish.

2 Likes

Me too.. constant reboots on 1900ACv1

1 Like

Yeah that would be much appreciated if you can share your script with me.
I understood now what exactly "Keep settings" option does, but I agree that an additional information should be attached to inform users that packages are not saved after each updating. As far as I can see, did not find any info regarding this, not sure if I searched properly though.

Yes maybe you are just missing something when running the kwboot command. Are you using the correct serial bit rate at 115200 ? Because it may cause glitches if you use a low speed. If you want, you can share your config and log to me by PM.

It's very simple, in fact:

#bin/bash
echo "Updating lists..."
opkg update
echo "Removing packages...."
for i in $(cat pkgremove)
do
    opkg remove $i --autoremove
done
echo "Installing packages..."
for i in $(cat pkglist)
do
    opkg install $i
done
echo "Done!"

It's also use two other files (in same folder):
pkgremove - the list of the packages needs to be removed from firmware (for me it's openvpn and adblock).
pkglist - the list of the packages needs to be installed.
For both, you can use 1 or more packages each line, but keep the order (some should be installed after others).

1 Like

Really appreciate for sharing your script. Just have tested and is working perfectly on my end. In my case, I do have several extra packages installed, so now that will save a lot of work and time by searching and installing all them manually.
Thanks again :wink:

Is it worth deleting the packages you aren't using or is it better to just disable the the requisite services. I'm always worried that if I delete the package it could have a dependency on something else...

You are welcome. In fact, try yourself to use bash - our openwrt is a nice entry ticket to Linux world.