Re: [OpenWrt-Devel] RT5350 board issues.

2016-03-08 Thread Frédéric Konrad
Hi Martin,
sorry for the delay, I didn't had time to try this yet.

Well, I tested with a custom kernel image before trying openwrt, I don't
really
want a custom kernel.

The board I have is (approximately) the following:
http://www.toplinkst.com/html_products/RT5350-wifi-routerAP-module-48.html

Thanks,
Fred

On 04/03/2016 14:38, Martin Schroeder wrote:
> Why are you using a custom kernel when there is proper support for
> this board? I'm building full images for it and flashing them either
> through sysupgrade or using an spi flash programmer. They all boot
> fine for me.
>
> To properly boot this board you can either use the sysupgrade bin
> image or the factory image generated when you pick target for the
> "HooToo" box.
>
> On Fri, Mar 4, 2016 at 10:34 AM, Frédéric Konrad
>  wrote:
>> Hi John,
>>
>> Thanks for your answer!
>>
>> On 04/03/2016 10:18, John Crispin wrote:
>>> On 04/03/2016 10:09, Frédéric Konrad wrote:
>>>> Ping?
>>>>
>>>> Any idea for this? Or just a clue so I can fix that?
>>>> (I don't have much experience with ralink mips stuff)
>>>> Using a vanilla kernel seems to boot fine BTW..
>>>>
>>>> Thanks,
>>>> Fred
>>>>
>>> you are using a kernel that has no dtb. you will need to build a dts
>>> file, compile it and patch it into teh kernel. easiest and probably only
>>> sane way is to add proper support to openwrt and build a kernel
>> That's making sense :), I'll try to append a device tree to the kernel.
>>
>>> i doubt that vanilla boots properly as vanilla has a rt3050 dts and no 5350.
>> Actually it seems that there are not much differences (in terms of cpu)
>> between
>> rt3050 and rt5350.
>>
>> So yes it definitely boots but I've no ethernet, usb, gpio drivers which
>> is kind of
>> useless :).
>>
>> Thanks,
>> Fred
>>>   John
>>>
>>>
>>>> On 01/03/2016 12:19, Frederic Konrad wrote:
>>>>> Hi everybody,
>>>>>
>>>>>  I'm a openwrt newbie and I've some issues running OpenWRT on a RT5350 
>>>>> board.
>>>>>
>>>>>  I tried "openwrt-15.05-ramips-rt305x-vmlinux.bin" which I transformed in
>>>>>  uImage with:
>>>>>  mkimage -A mips -O linux -T kernel -C none -a 0x8000 -e 0x8000 \
>>>>>   -d openwrt-15.05-ramips-rt305x-vmlinux.bin uImage
>>>>>
>>>>>  But I only get three lines loop when I put that on my target through 
>>>>> uboot + tftp:
>>>>>
>>>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 
>>>>> CEST 2015
>>>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>>>  [0.00] bootconsole [early0] enabled
>>>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 
>>>>> CEST 2015
>>>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>>>  [0.00] bootconsole [early0] enabled
>>>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 
>>>>> CEST 2015
>>>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>>>  [0.00] bootconsole [early0] enabled
>>>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 
>>>>> CEST 2015
>>>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>>>  [0.00] bootconsole [early0] enabled
>>>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 
>>>>> CEST 2015
>>>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>>>  [0.00] bootconsole [early0] enabled
>>>>

Re: [OpenWrt-Devel] RT5350 board issues.

2016-03-04 Thread Frédéric Konrad
Hi John,

Thanks for your answer!

On 04/03/2016 10:18, John Crispin wrote:
> On 04/03/2016 10:09, Frédéric Konrad wrote:
>> Ping?
>>
>> Any idea for this? Or just a clue so I can fix that?
>> (I don't have much experience with ralink mips stuff)
>> Using a vanilla kernel seems to boot fine BTW..
>>
>> Thanks,
>> Fred
>>
> you are using a kernel that has no dtb. you will need to build a dts
> file, compile it and patch it into teh kernel. easiest and probably only
> sane way is to add proper support to openwrt and build a kernel
That's making sense :), I'll try to append a device tree to the kernel.

>
> i doubt that vanilla boots properly as vanilla has a rt3050 dts and no 5350.
Actually it seems that there are not much differences (in terms of cpu)
between
rt3050 and rt5350.

So yes it definitely boots but I've no ethernet, usb, gpio drivers which
is kind of
useless :).

Thanks,
Fred
>   John
>
>
>> On 01/03/2016 12:19, Frederic Konrad wrote:
>>> Hi everybody,
>>>  
>>>  I'm a openwrt newbie and I've some issues running OpenWRT on a RT5350 
>>> board.
>>>  
>>>  I tried "openwrt-15.05-ramips-rt305x-vmlinux.bin" which I transformed in
>>>  uImage with:
>>>  mkimage -A mips -O linux -T kernel -C none -a 0x8000 -e 0x8000 \
>>>   -d openwrt-15.05-ramips-rt305x-vmlinux.bin uImage
>>>  
>>>  But I only get three lines loop when I put that on my target through uboot 
>>> + tftp:
>>>  
>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 
>>> 2015
>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>  [0.00] bootconsole [early0] enabled
>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 
>>> 2015
>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>  [0.00] bootconsole [early0] enabled
>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 
>>> 2015
>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>  [0.00] bootconsole [early0] enabled
>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 
>>> 2015
>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>  [0.00] bootconsole [early0] enabled
>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 
>>> 2015
>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>  [0.00] bootconsole [early0] enabled
>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 
>>> 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 
>>> 2015
>>>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>>>  [0.00] bootconsole [early0] enabled
>>>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>>>  
>>>  I've the exact same result when I clone the git and compile the whole 
>>> thing.
>>>  
>>>  Did I miss something?
>>> Thanks,Fred
>>>
>>>
>>>
>>> ___
>>> openwrt-devel mailing list
>>> openwrt-devel@lists.openwrt.org
>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
>>
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] RT5350 board issues.

2016-03-04 Thread Frédéric Konrad
Ping?

Any idea for this? Or just a clue so I can fix that?
(I don't have much experience with ralink mips stuff)
Using a vanilla kernel seems to boot fine BTW..

Thanks,
Fred

On 01/03/2016 12:19, Frederic Konrad wrote:
> Hi everybody,
>  
>  I'm a openwrt newbie and I've some issues running OpenWRT on a RT5350 board.
>  
>  I tried "openwrt-15.05-ramips-rt305x-vmlinux.bin" which I transformed in
>  uImage with:
>  mkimage -A mips -O linux -T kernel -C none -a 0x8000 -e 0x8000 \
>   -d openwrt-15.05-ramips-rt305x-vmlinux.bin uImage
>  
>  But I only get three lines loop when I put that on my target through uboot + 
> tftp:
>  
>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 
> (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 2015
>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>  [0.00] bootconsole [early0] enabled
>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 
> (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 2015
>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>  [0.00] bootconsole [early0] enabled
>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 
> (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 2015
>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>  [0.00] bootconsole [early0] enabled
>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 
> (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 2015
>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>  [0.00] bootconsole [early0] enabled
>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 
> (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 2015
>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>  [0.00] bootconsole [early0] enabled
>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>  [0.00] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 
> (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 19:34:21 CEST 2015
>  [0.00] SoC Type: Ralink RT5350 id:1 rev:3
>  [0.00] bootconsole [early0] enabled
>  [0.00] CPU0 revision is: 0001964c (MIPS 24KEc)
>  
>  I've the exact same result when I clone the git and compile the whole thing.
>  
>  Did I miss something?
> Thanks,Fred
>
>
>
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel