First RSPRO deployed !

Monthadar Al Jaberi monthadar at gmail.com
Thu Nov 18 08:08:15 UTC 2010


2010/11/18 Maciej Milewski <milu at dat.pl>:
>
> Thursday 18 November 2010 07:53:45 Monthadar Al Jaberi napisał(a):
>> 2010/11/17 Maciej Milewski <milu at dat.pl>:
>> > Dnia środa 17 listopad 2010 o 11:31:42 Monthadar Al Jaberi napisał(a):
>> >> > I'll try to post my script and Makefile for the mkfwimage.c (here is a
>> >> >
>> >> > sample with the ouput of routerstation for the flashing procedure:
>> >> >
>> >> > http://loos.no-ip.org:280/routerstation/)
>> >>
>> >> That would be great! I have problems with mkfwimage.c too. Interesting
>> >>
>> >> that your firmware version does not start with RSPRO as Adrian
>> >>
>> >> specified...
>> >
>> > Because it is Routerstation board not Routerstation Pro.
>>
>> Sorry, I just assumed from the subject line that it was RSPRO.
>>
>> > Please explain what problems do you have with the mkfwimage.
>>
>> I get invalid image error from redboot.
>>
>> I made changes to mkfwimage according to Adrians instruction, padded
>> the kernel image I generated to be 64k and create the filesystem with
>> makefs -t ffs -B big...
>>
>> How do you do it?
>>
>> --
>> //Monthadar Al Jaberi
> I don't know what changes because I've got Adrian's mkfwimage and it works :)

Where can I find Adrian's mkfwimage? Maybe I missed something....

> If kernel needs padding to 64k maybe rootfs needs the same?  I haven't tried
> yet with makefs but image with rootfs=65536 of 0's works.

How do you generate the filesystem then?
And actually when I checked the makefile Adrian is refering to, they
made the filesystem padded by 128k and that I did to :)

>
> Do you have proper name of this fw image? I've read somewhere that it's
> required.
> My working name is RSPRO.ar7100pro.FreeBSD.Test and you can change the last
> two words for sure.

You mean the name of the file that mkfwimage generates?
I just called it something like firmware-image...

I changed the name, but still got:
TFTPD: Incoming connection from 192.168.1.102:25789
Received:  6881688 bytes
Invalid image format (error: -2)


hmm...

>
> Regards,
> Maciej Milewski
>

-- 
//Monthadar Al Jaberi


More information about the freebsd-mips mailing list