LEDE on VGV7510KW22 / O2 Box 6431 (the easy way)
UPDATE: The easy was is explained in post #6 of this thread and may apply to all/other brnboot devices.
The rest of this post is mostly for posterity...
I installed "....BRN-squashfs-factory.bin" from the hwdata page with the brnboot "recovery" web UI method (everything over Ethernet no need for rs232 connection at all).
A few minutes after starting the firmware update the recover web UI displayed some lines filled with random non ASCII characters but another few minutes later I powercycled the router and LEDE booted successfully.
The flash layout looks like this now (gathered with
dmesg | grep -i -e mtd -e 0x0 and comparing to the default flash layout):
ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e Amd/Fujitsu Extended Query Table at 0x0040 8 ofpart partitions found on MTD device ltq_nor Creating 8 MTD partitions on "ltq_nor": <Size KiB> <default> 0xfe0000-0x1000000 : "board_config" 128  "Boot Params" 0x000000-0x040000 : "Boot" 256  0x040000-0x080000 : "Configuration" 256  0x080000-0x0a0000 : "Certificate" 128  0x0a0000-0x0c0000 : "Special_Area" 128  0x0c0000-0x0e0000 : "Primary_Setting" 128  0x0e0000-0x860000 : "Code_Image_0" 7680  0x860000-0xfe0000 : "firmware" 7680  "Code Image 1" 2 brnimage-fw partitions found on MTD device firmware 0x860000-0x9f5665 : "kernel" ~1621,6 inside  0x9f5800-0xfdfff4 : "rootfs" ~6058 inside  mtd: device 9 (rootfs) set to be root filesystem 1 squashfs-split partitions found on MTD device rootfs 0xd80000-0xfc0000 : "rootfs_data" 2304 inside rootfs?!
Now I have a few questions:
Am I right to assume that "rootfs_data" is the jffs2 part of "rootfs"?
- Can I just format " Code Image 0" with JFFS2 and use it as overlay (instead of or in addition to "rootfs_data")?
- Or is it possible to install das u-boot from the running LEDE? And, if necessary, reinstall LEDE over the recover WebIF of uboot (I seem to remember such a possibility)?
There are two different brn-u-boot images for the different HW revisions but only one nor-u-boot image. Can I use the nor one for both HW revisions?
- Can I switch between dualcore and 1core+FXS mode with a boot/kernel paramter/option (without reflashing)?
Which DSL firmware do I need top install for "Annex J"?
Is it possible to build a combined u-boot + LEDE image which can be installed via the hidden secret recovery web interface of brnboot?It is! See post #6
Problems / oddities
My O2 Box 6431 behaves odd now that I have installed LEDE.
While configuring some basic stuff over LuCi my ethernet connection to the router was suddenly gone. As it turned out LAN ports 1 and 2 where "off" (no connection/blinking led what so ever) but 3 and 4 kept working. After cycling the power everything was fine again.
To play a little more I turned the router on again today but when I tried to connect ~15 minutes later I noticed only the power LED was on. All 4 ports and WiFi were offline and the power consumption was just 4W.
After cycling the power again everything except for the WiFi LED (which just remains off) is working again and it's pulling >6W (for ~4 continuous hours now).
Anyone got any ideas on how to properly reproduce and diagnose that?
I haven't taken the router apart so far... maybe it's a sign of aging hardware (PSU and internal voltage converters)? But I don't hear or smell bad electronics so far.