Build for Netgear R7800

After some general hiccups everything is compiling nicely including minidlna with kernel 5.4.31. At least it was yesterday.
My understanding is /files could be used for any files to be added. For just a purpose of preserving existing config sysupgrade without any options (or default upgrade from GUI) should do. Obviously making backup copy upfront is not going to hurt too.

image
This is what i get when i try to install from opkg... but also added it in the config.init... but no luck...

No.
It doesn't.

If you compile all from sources, after doing naturally a "make clean" first, the packages naturally depend on the current versions of eachother.

You can copy e.g. your /etc/config/dhcp there in order to have preset DHCP settings. Etc.
Read wiki...

2 Likes

That's how I flashed your FW the first time, through stock FW. And that was like, 2 years ago?

Btw, how do I resolve this? git stash doesn't fix it.

error: Your local changes to the following files would be overwritten by merge:
        themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap

Git stash worked for me.
But you naturally need to do that in the feeds/luci repo, not the buildroot root (which is the main OpenWrt repo).

cd feeds/luci
git stash
git pull
git stash pop

Alternatively, edit the file first (remove the "#"), then git pull, then edit the "#" back

But any case, it is normal git work with source, nothing special.

Doh, thanks. :roll_eyes:

Blimey @hnyman these master builds are changing on a near daily basis at the minute... Sometimes there's a week between builds, but lately it's daily nearly. Are they all bug fixes or is the code changing that quickly you need to update so often?? It must take up a lot of time compiling then installing, and uploading them for us all... Thank you very much.

If you follow the discussion in forum and especially in the developer mailing list, you can have noticed that the kconfig system got broken a few days ago. So master has been rapidly changing on the last few days.

But sure, maintaining the build requires some work...

1 Like

On my R7800 I only have the first 4 left leds turned on and those on the right are off.

With other builds they were turned on.

?
Thanks

All LEDs work for me normally.
Power, wan, wlan, USB, switch. (haven't tested the eSata)
OpenWrt SNAPSHOT r12927-4f34e430ed

Usually with the right led I could deactivated the wifi. It is not turned on.

btw, I did a reboot, after that, my router rebooted with factory default??????

so I uploaded my back up and impossible to load it, after reboot, still the factory default.

OpenWrt 19.07-SNAPSHOT r10997-5b9b833f8c

log after the boot:

 14.660992] UBIFS error (ubi0:1 pid 147): ubifs_recover_leb: LEB 69 scanning failed
[   14.668903] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   14.717980] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 149
[   14.777368] UBIFS (ubi0:1): recovery needed
[   14.875314] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 45056 bytes from PEB 331:86016, read only 45056 bytes, retry
[   14.884696] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 45056 bytes from PEB 331:86016, read only 45056 bytes, retry
[   14.895611] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 45056 bytes from PEB 331:86016, read only 45056 bytes, retry
[   14.907031] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 45056 bytes from PEB 331:86016, read 45056 bytes
[   14.910590] CPU: 0 PID: 145 Comm: mount_root Not tainted 4.14.172 #0
[   14.921693] Hardware name: Generic DT based system
[   14.928132] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   14.932729] [<c030b498>] (show_stack) from [<c079f784>] (dump_stack+0x94/0xa8)
[   14.940623] [<c079f784>] (dump_stack) from [<c05e3d88>] (ubi_io_read+0x22c/0x30c)
[   14.947654] [<c05e3d88>] (ubi_io_read) from [<c05e1bec>] (ubi_eba_read_leb+0x300/0x438)
[   14.955212] [<c05e1bec>] (ubi_eba_read_leb) from [<c05e04d8>] (ubi_leb_read+0x78/0xd0)
[   14.963028] [<c05e04d8>] (ubi_leb_read) from [<c048a3e0>] (ubifs_leb_read+0x34/0x8c)
[   14.971009] [<c048a3e0>] (ubifs_leb_read) from [<c0491f80>] (ubifs_start_scan+0x80/0xdc)
[   14.978909] [<c0491f80>] (ubifs_start_scan) from [<c04a2e5c>] (ubifs_recover_leb+0x84/0x6cc)
[   14.986982] [<c04a2e5c>] (ubifs_recover_leb) from [<c0492e68>] (ubifs_replay_journal+0x6f0/0x12b4)
[   14.995399] [<c0492e68>] (ubifs_replay_journal) from [<c04886c8>] (ubifs_mount+0xf10/0x1578)
[   15.004169] [<c04886c8>] (ubifs_mount) from [<c03fd798>] (mount_fs+0x20/0xbc)
[   15.012760] [<c03fd798>] (mount_fs) from [<c041d234>] (vfs_kern_mount.part.2+0x54/0x110)
[   15.019793] [<c041d234>] (vfs_kern_mount.part.2) from [<c04200d8>] (do_mount+0x8c8/0xc5c)
[   15.027950] [<c04200d8>] (do_mount) from [<c04207b0>] (SyS_mount+0x98/0xd0)
[   15.036024] [<c04207b0>] (SyS_mount) from [<c0307c40>] (ret_fast_syscall+0x0/0x54)
[   15.042891] UBIFS error (ubi0:1 pid 145): ubifs_recover_leb: corrupt empty space LEB 69:81920, corruption starts at 555
[   15.050502] UBIFS error (ubi0:1 pid 145): ubifs_scanned_corruption: corruption at LEB 69:82475
[   15.061155] UBIFS error (ubi0:1 pid 145): ubifs_scanned_corruption: first 8192 bytes from LEB 69:82475

Looks like a flash problem.

If you have flash trouble on the rootfs, it may be hard for ubifs to recover from that, and you might have partially corrupted rootfs ROM. There may be some ubifs cmdline tools for recovery, but I have no experience with them.

If sysupgrade works, you might reflash a new firmware, so that the bad block can be rewritten or jumped over.

Or alternatively, if sysupgrade does not work, you could use the TFTP recovery flash to flash a factory image.

Ps. I am writing this with 19.07-SNAPSHOT, r10997-5b9b833f8c . The build itself works ok.

I just reflashed with tftp, it sis fine now. But your build worked really good till this morning.

Dont know why it rebooted with default factory

on my other r7800 I have the 19.07.2-ipq806x-generic-netgear_r7800-squashfs-factory.img)
so if I want flash with your build on that one, Can I do that In LuCi from upgrade ?

thanks

Yes, you can sysupgrade between various 19.07.x (and also master) builds.
Settings are pretty much identical.

(The exception is some packages like adblock, where master needs different settings, but that does not prevent the sysupgrade itself).

1 Like

IM ready to upgrade and flash but this is what I got:

Device netgear,r7800 not supported by this image Supported devices: netgear,d7800 d7800 Image check failed.

The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.

I can choose force upgrade?

Since a few days both adblock packages in master/19.07 are on the same release level.

1 Like

No.
That device is D7800 ???
Or image is D7800 and you are trying to flash it to R7800???

Which image you are trying to use?