OpenWrt installation on F9J1108v1

I'm trying to install r22 on a UK F9J1108v1 device and cannot flash kernel part because the uBoot expecting a special header, neither eDiMaX nor eDiMaXsUpEr nor F9K1119v1, it looks like

Offset      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

00000000   27 05 19 56 B6 F2 28 8B  5F AC 45 16 00 15 2A BB   '  V¶ò(‹_¬E   *»
00000010   80 06 00 00 80 06 00 00  00 20 8C 44 05 05 02 03   €   €     ŒD    
00000020   4D 49 50 53 20 4F 70 65  6E 57 72 74 20 4C 69 6E   MIPS OpenWrt Lin
00000030   75 78 2D 34 2E 39 2E 32  34 33 00 00 00 00 00 00   ux-4.9.243      
00000040   6D 00 00 80 00 3C 82 43  00 00 00 00 00 00 00 6F   m  € <‚C       o

could please someone extract me uBoot binary image (/dev/mtd0) from a F9K1115v2 or F9J1108V2 device? I believe then I can replace my uBoot version and flash a factory image...
thanks in advance, Slava

for flashing the F9k1108V2/V1 use the factory file
"openwrt-22.03.3-ath79-generic-belkin_f9j1108-v2-squashfs-factory.bin"
sysupgrade didn't work between ar71xx and ath79
you have to use the factory recover

hold down reset button while booting
use fixed ip on pc local to 192.168.2.1 say 192.168.2.2
and use web page at 192.168.2.1 to upload Factory file

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b403a6e1241c00f509b201ec2ac8ca5f29e1ffd1

if you still need UBOOT
http://luckys.onmypc.net/openwrt/Belkin%20F9J1108V2/OpenWrt.mtd0.bin

it doesn't work, any openwrt files are rejected by this web loader

I've stripped the factory.bin up to magic number and uploaded by tftpboot, but the kernel can't be uncompressed:

done
Bytes transferred = 6553506 (63ffa2 hex)
ath> bootm 0x80060000
## Booting image at 80060000 ...
   Image Name:   MIPS OpenWrt Linux-5.10.161
   Created:      2023-01-03   0:24:21 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3292 Bytes =  3.2 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x80060040 ...OK
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover
▒▒▒▒▒

U-Boot 1.1.4 (Feb 13 2014 - 19:07:07)

do you have a belkin factoy image that works ?
to compare header ?

ps added uboot to last message you may have missed it

the version i have installed is

Hostname F9J1108v2
Model Belkin F9J1108 v2 (AC1750 DB Wi-Fi)
Architecture Qualcomm Atheros QCA9558 ver 1 rev 0
Target Platform ath79/generic
Firmware Version OpenWrt 22.03.2 r19803-9a599fee93 / LuCI openwrt-22.03 branch git-22.288.45147-96ec0cd

unfortunately no, I've replaced it with openwrt-15.05.1-ar71xx-generic-f9k1115v2-squashfs-sysupgrade.bin, it does work with Belkin original kernel Linux-4.9.243

I can also replace only the rootfs from 0x9f050000 and it boots OK but only till r18, the later releases arn't jffs2 compatible

the memory layout was completely changed for ath79
the kernel location is different with a fake peace of code to jump to the new location
to make use of all of the memory
I have never need to use tftp on this so it may not work with new layout

just in case you changed uboot variables
http://luckys.onmypc.net/openwrt/Belkin%20F9J1108V2/OpenWrt.mtd1.bin

no differences between your and my bootloader :frowning:

no differencies in my and yours uboot_env either...

could you please export mtd0-mtd8? so I would be able to boot into r18 and reflash them all
how does your /proc/mtd look like?..

root@F9J1108v2:~# cat  /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00e20000 00010000 "fwconcat0"
mtd3: 00010000 00010000 "loader"
mtd4: 00170000 00010000 "fwconcat1"
mtd5: 00010000 00010000 "art"
mtd6: 00f90000 00010000 "firmware"
mtd7: 00230000 00010000 "kernel"
mtd8: 00d60000 00010000 "rootfs"
mtd9: 00960000 00010000 "rootfs_data"

sorry have to go out but will look more tonight
FYI mine is in Australia model

thank you, I eventually did succeed to install r22

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.