TP-Link 1043ND - its tme :)
Luiz Otavio O Souza
lists.br at gmail.com
Wed Aug 28 13:19:12 UTC 2013
On 28 August 2013 07:20, Nenhum_de_Nos <matheus at eternamente.info> wrote:
> hail,
>
> I'm trying to flash FreeBSD on it, but I can't build it and not get this
> error:
>
> *** Running makefs to build compressed image ..
> *** from /root/work/freebsd/head/src/../mfsroot/tl-wr1043nd ..
> Calculated size of
> `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img': 19300352 bytes,
> 1223
> inodes
> Extent size set to 4096
> /root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img: 18.4MB (37696
> sectors) block size 4096,
> fragment size 512
> using 2 cylinder groups of 12.96MB, 3319 blks, 896 inodes.
> super-block backups (for fsck -b #) at:
> 32, 26584,
> Populating `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img'
> Image `/root/work/freebsd/head/src/../mfsroot-tl-wr1043nd.img' complete
> *** Running mkuzip to create a compressed filesystem ..
> *** Target Done.
> *** Target : tplink
> 4119+2 records in
> 4119+1 records out
> 2109309 bytes transferred in 1.088462 secs (1937880 bytes/sec)
> [mktplinkfw] *** error: kernel image is too big
> root at dev:~ #
>
> what can I do now ?
>
> sometime ago, this was head to blame. What rev from svn is ok on this
> point ?
>
> I tested yesterday the serial cable, and was successful, now its time to
> make FreeBSD shine on it.
>
> thanks,
>
> matheus
>
> ps: I soldered my DIR-825 also, so when the 1043 is done, I can help debug
> the other (just need to
> have one working wifi, so the house keeps up on internet access :)
>
> pps: posting to mips@ only, if better suited for embedded, just say so :)
>
>
Hey Matheus,
Can you show me the size of your kernel and the rootfs images ?
The mktplinkfw tool defines some default limits for these sizes:
.id = "TL-WR1043NDv1",
.hw_id = HWID_TL_WR1043ND_V1,
.hw_rev = 1,
.fw_max_len = 0x7c0000,
.kernel_la = 0x80060000,
.kernel_ep = 0x80060000,
.rootfs_ofs = 0x140000,
So the maximum allowed kernel size (by default) is 0x140000 (1310720
bytes). We can change this offset to accommodate a bigger kernel, but it is
going to change a few other settings (like the flash mappings) and i also
want to check if it is going to fit in the flash.
Regards,
Luiz
More information about the freebsd-mips
mailing list