Re: [OpenWrt-Devel] raspberry pi v3.19

2015-02-11 Thread Álvaro Fernández Rojas
Yeah I had already reverted that change locally.

I was going to send all the patches once I had tested everything for the 
Raspberry Pi 2, but you were faster :P.

El 11/02/2015 a las 11:11, John Crispin escribió:
 
 On 10/02/2015 19:53, Álvaro Fernández Rojas wrote:
 Okay, it's working now:
 http://files.noltari.es/openwrt/bcm2708/bcm2708_3-18_log.txt

 Patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz

 
 i changed the gpu-fw package to not clone the huge git tree every time,
 it killed me 8/1 adsl line ;)
 ___
 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] raspberry pi v3.19

2015-02-10 Thread Álvaro Fernández Rojas
The pins you said are the right ones. However, if anything fails before the 
kernel is booted you won't get any output. You could try booting a 3.14 image 
and check if you are properly connected to the uart.

It may be some wrong configuration related to the recently added DT support, 
which expects a DTB and since no DTB is passed from the bootloader, the kernel 
crashes before any output.

 El 10/2/2015, a las 6:29, John Crispin blo...@openwrt.org escribió:
 
 ok, so uart, how do you connect it ?
 
 On 10/02/2015 02:02, Álvaro Fernández Rojas wrote:
 I tried adding support for 3.18 and I have issues booting the raspberry. 
 There must be something wrong with the new mmc driver, because it detects 
 the SD card insertions/extractiones, but doesn't read the partitions:
 http://pastebin.com/GWFYrXnT
 
 My patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz
 
 Regards,
 Álvaro.
 
 El 09/02/2015 a las 18:12, Florian Fainelli escribió:
 On Feb 9, 2015 4:25 AM, John Crispin blo...@openwrt.org 
 mailto:blo...@openwrt.org wrote:
 
 Hi,
 
 i synced our rpi port with the upstream tree on github. it boots and i
 can see the coloured palette test pic on the hdmi, however ethernet
 fails to come up. i attached a uart just to find out that my rpi is
 either broken or i am connecting it wrong.
 
 has anyone managed to get uart working ? to my understanding i need to
 connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
 output from the bootloader prior to board detecting/loading the sd card
 
 You will not get any UART output prior to the kernel boot, the GPU boot 
 code does not output anything (at least not in the builds we use).
 
 Could you share the boot log to see if there is anything obvious?
 
 
John
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org mailto: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] raspberry pi v3.19

2015-02-10 Thread Álvaro Fernández Rojas
I could finally boot 3.18 by loading the rootfs from USB:
http://pastebin.com/b4dX0X7B

Everything seems to be working fine, still no clue about the SD issues...
http://pastebin.com/G61ALvLX

El 10/02/2015 a las 11:09, Álvaro Fernández Rojas escribió:
 The pins you said are the right ones. However, if anything fails before the 
 kernel is booted you won't get any output. You could try booting a 3.14 image 
 and check if you are properly connected to the uart.
 
 It may be some wrong configuration related to the recently added DT support, 
 which expects a DTB and since no DTB is passed from the bootloader, the 
 kernel crashes before any output.
 
 El 10/2/2015, a las 6:29, John Crispin blo...@openwrt.org escribió:

 ok, so uart, how do you connect it ?

 On 10/02/2015 02:02, Álvaro Fernández Rojas wrote:
 I tried adding support for 3.18 and I have issues booting the raspberry. 
 There must be something wrong with the new mmc driver, because it detects 
 the SD card insertions/extractiones, but doesn't read the partitions:
 http://pastebin.com/GWFYrXnT

 My patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz

 Regards,
 Álvaro.

 El 09/02/2015 a las 18:12, Florian Fainelli escribió:
 On Feb 9, 2015 4:25 AM, John Crispin blo...@openwrt.org 
 mailto:blo...@openwrt.org wrote:

 Hi,

 i synced our rpi port with the upstream tree on github. it boots and i
 can see the coloured palette test pic on the hdmi, however ethernet
 fails to come up. i attached a uart just to find out that my rpi is
 either broken or i am connecting it wrong.

 has anyone managed to get uart working ? to my understanding i need to
 connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
 output from the bootloader prior to board detecting/loading the sd card

 You will not get any UART output prior to the kernel boot, the GPU boot 
 code does not output anything (at least not in the builds we use).

 Could you share the boot log to see if there is anything obvious?


John
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org mailto: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] raspberry pi v3.19

2015-02-10 Thread John Crispin


On 10/02/2015 20:16, Álvaro Fernández Rojas wrote:
 It's based on https://github.com/raspberrypi/linux/tree/rpi-3.18.y-rebase

oh goddie, i wonder what i did wrong when trying the same ones.

 
 BTW, I'm also trying to get the Raspberry Pi 2 working before sending the 
 patches.
 

amazon wont ship mine till the 13th, so i wont be able to play with it
till start of next week. patches welcome, as always ;)



 El 10/02/2015 a las 20:02, John Crispin escribió:


 On 10/02/2015 19:53, Álvaro Fernández Rojas wrote:
 Okay, it's working now:
 http://files.noltari.es/openwrt/bcm2708/bcm2708_3-18_log.txt

 Patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz


 :-) one less todo off my list. just merged it locally and started a test
 build. which patches is this series based on ? i tried to make the ~150
 patches from the rpi repo on github work in the hope that they would
 also make the rpi2 work with openwrt.

 thanks,
  John
 ___
 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] raspberry pi v3.19

2015-02-10 Thread John Crispin


On 10/02/2015 19:53, Álvaro Fernández Rojas wrote:
 Okay, it's working now:
 http://files.noltari.es/openwrt/bcm2708/bcm2708_3-18_log.txt
 
 Patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz
 

:-) one less todo off my list. just merged it locally and started a test
build. which patches is this series based on ? i tried to make the ~150
patches from the rpi repo on github work in the hope that they would
also make the rpi2 work with openwrt.

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


Re: [OpenWrt-Devel] raspberry pi v3.19

2015-02-10 Thread Álvaro Fernández Rojas
Okay, it's working now:
http://files.noltari.es/openwrt/bcm2708/bcm2708_3-18_log.txt

Patches:
http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz

El 10/02/2015 a las 13:10, Álvaro Fernández Rojas escribió:
 I could finally boot 3.18 by loading the rootfs from USB:
 http://pastebin.com/b4dX0X7B
 
 Everything seems to be working fine, still no clue about the SD issues...
 http://pastebin.com/G61ALvLX
 
 El 10/02/2015 a las 11:09, Álvaro Fernández Rojas escribió:
 The pins you said are the right ones. However, if anything fails before the 
 kernel is booted you won't get any output. You could try booting a 3.14 
 image and check if you are properly connected to the uart.

 It may be some wrong configuration related to the recently added DT support, 
 which expects a DTB and since no DTB is passed from the bootloader, the 
 kernel crashes before any output.

 El 10/2/2015, a las 6:29, John Crispin blo...@openwrt.org escribió:

 ok, so uart, how do you connect it ?

 On 10/02/2015 02:02, Álvaro Fernández Rojas wrote:
 I tried adding support for 3.18 and I have issues booting the raspberry. 
 There must be something wrong with the new mmc driver, because it detects 
 the SD card insertions/extractiones, but doesn't read the partitions:
 http://pastebin.com/GWFYrXnT

 My patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz

 Regards,
 Álvaro.

 El 09/02/2015 a las 18:12, Florian Fainelli escribió:
 On Feb 9, 2015 4:25 AM, John Crispin blo...@openwrt.org 
 mailto:blo...@openwrt.org wrote:

 Hi,

 i synced our rpi port with the upstream tree on github. it boots and i
 can see the coloured palette test pic on the hdmi, however ethernet
 fails to come up. i attached a uart just to find out that my rpi is
 either broken or i am connecting it wrong.

 has anyone managed to get uart working ? to my understanding i need to
 connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
 output from the bootloader prior to board detecting/loading the sd card

 You will not get any UART output prior to the kernel boot, the GPU boot 
 code does not output anything (at least not in the builds we use).

 Could you share the boot log to see if there is anything obvious?


John
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org mailto: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] raspberry pi v3.19

2015-02-10 Thread Álvaro Fernández Rojas
It's based on https://github.com/raspberrypi/linux/tree/rpi-3.18.y-rebase

BTW, I'm also trying to get the Raspberry Pi 2 working before sending the 
patches.

El 10/02/2015 a las 20:02, John Crispin escribió:
 
 
 On 10/02/2015 19:53, Álvaro Fernández Rojas wrote:
 Okay, it's working now:
 http://files.noltari.es/openwrt/bcm2708/bcm2708_3-18_log.txt

 Patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz

 
 :-) one less todo off my list. just merged it locally and started a test
 build. which patches is this series based on ? i tried to make the ~150
 patches from the rpi repo on github work in the hope that they would
 also make the rpi2 work with openwrt.
 
 thanks,
   John
 ___
 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] raspberry pi v3.19

2015-02-09 Thread Florian Fainelli
On Feb 9, 2015 4:25 AM, John Crispin blo...@openwrt.org wrote:

 Hi,

 i synced our rpi port with the upstream tree on github. it boots and i
 can see the coloured palette test pic on the hdmi, however ethernet
 fails to come up. i attached a uart just to find out that my rpi is
 either broken or i am connecting it wrong.

 has anyone managed to get uart working ? to my understanding i need to
 connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
 output from the bootloader prior to board detecting/loading the sd card

You will not get any UART output prior to the kernel boot, the GPU boot
code does not output anything (at least not in the builds we use).

Could you share the boot log to see if there is anything obvious?


 John
 ___
 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] raspberry pi v3.19

2015-02-09 Thread John Crispin


On 09/02/2015 18:12, Florian Fainelli wrote:
 Could you share the boot log to see if there is anything obvious?
 

Hi,

without uart i get no bootlog. i just see the coloured palette on the
hdmi. but the uart stays quiet. i am starting to wonder if the uart is dead.

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


Re: [OpenWrt-Devel] raspberry pi v3.19

2015-02-09 Thread Álvaro Fernández Rojas
I tried adding support for 3.18 and I have issues booting the raspberry. There 
must be something wrong with the new mmc driver, because it detects the SD card 
insertions/extractiones, but doesn't read the partitions:
http://pastebin.com/GWFYrXnT

My patches:
http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz

Regards,
Álvaro.

El 09/02/2015 a las 18:12, Florian Fainelli escribió:
 On Feb 9, 2015 4:25 AM, John Crispin blo...@openwrt.org 
 mailto:blo...@openwrt.org wrote:

 Hi,

 i synced our rpi port with the upstream tree on github. it boots and i
 can see the coloured palette test pic on the hdmi, however ethernet
 fails to come up. i attached a uart just to find out that my rpi is
 either broken or i am connecting it wrong.

 has anyone managed to get uart working ? to my understanding i need to
 connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
 output from the bootloader prior to board detecting/loading the sd card
 
 You will not get any UART output prior to the kernel boot, the GPU boot code 
 does not output anything (at least not in the builds we use).
 
 Could you share the boot log to see if there is anything obvious?
 

 John
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org mailto: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] raspberry pi v3.19

2015-02-09 Thread John Crispin
Hi,

i synced our rpi port with the upstream tree on github. it boots and i
can see the coloured palette test pic on the hdmi, however ethernet
fails to come up. i attached a uart just to find out that my rpi is
either broken or i am connecting it wrong.

has anyone managed to get uart working ? to my understanding i need to
connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
output from the bootloader prior to board detecting/loading the sd card ?

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


Re: [OpenWrt-Devel] raspberry pi v3.19

2015-02-09 Thread John Crispin
ok, so uart, how do you connect it ?

On 10/02/2015 02:02, Álvaro Fernández Rojas wrote:
 I tried adding support for 3.18 and I have issues booting the raspberry. 
 There must be something wrong with the new mmc driver, because it detects the 
 SD card insertions/extractiones, but doesn't read the partitions:
 http://pastebin.com/GWFYrXnT
 
 My patches:
 http://files.noltari.es/openwrt/bcm2708/brcm2708_3-18.tgz
 
 Regards,
 Álvaro.
 
 El 09/02/2015 a las 18:12, Florian Fainelli escribió:
 On Feb 9, 2015 4:25 AM, John Crispin blo...@openwrt.org 
 mailto:blo...@openwrt.org wrote:

 Hi,

 i synced our rpi port with the upstream tree on github. it boots and i
 can see the coloured palette test pic on the hdmi, however ethernet
 fails to come up. i attached a uart just to find out that my rpi is
 either broken or i am connecting it wrong.

 has anyone managed to get uart working ? to my understanding i need to
 connect pin6 to gnd and use 8 and 10 for the 2 data lines. should i see
 output from the bootloader prior to board detecting/loading the sd card

 You will not get any UART output prior to the kernel boot, the GPU boot code 
 does not output anything (at least not in the builds we use).

 Could you share the boot log to see if there is anything obvious?


 John
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org mailto: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