Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails again

2016-01-04 Thread Vasco Steinmetz
Hi Zoltan, see my other post for the explanation why the identification strings got messed up (discrepancy between upstream & .diff). I'll give it a try as soon as I see the commit reverted. Kind regards, Vasco ___ openwrt-devel mailing list openwrt-d

Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails again

2016-01-04 Thread Zoltan HERPAI
Vasco Steinmetz wrote: Hi, with the latest trunk the board.d detection script for the Lamobo Banana Pi R1 fails again. This time the value is cat /proc/device-tree/model Lamobo R1 Sadliy this is the model name before my previous complaint at end of November, when the dt reported "Lamobo Banan

Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails again

2016-01-03 Thread Vasco Steinmetz
Addendum: u-boot was bumped ten days ago to 2016.01-rc2 for sunxi with commit http://git.openwrt.org/?p=openwrt.git;a=commit;h=dd2b7afc88a0df1cadb43451104bef9337acae34 The "Lamobo Banana Pi R1" string was in the file package/boot/boot-sunxi/patches/002-add-lamobo-r1.diff which got deleted with the

[OpenWrt-Devel] Board detection for Lamobo R1 fails again

2016-01-03 Thread Vasco Steinmetz
Hi, with the latest trunk the board.d detection script for the Lamobo Banana Pi R1 fails again. This time the value is cat /proc/device-tree/model Lamobo R1 Sadliy this is the model name before my previous complaint at end of November, when the dt reported "Lamobo Banana Pi R1" Apparently u-bl

Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails

2015-12-10 Thread Vasco Steinmetz
A quick test seems to work, the switch is added and during boot the system happily reports the board. Detected lamobo-r1 // Lamobo Banana Pi R1 root@OpenWrt:/etc/board.d# cat /etc/board.json { "model": { "id": "lamobo-r1", "name": "Lamobo Banana Pi R1"

Re: [OpenWrt-Devel] Board detection for Lamobo R1 fails

2015-12-10 Thread Jo-Philipp Wich
Hi Vasco, thats certainly possible, I merely did a logical translation of the code. Can you please check that after changing "Lamobo R1" in the case switch to "Lamobo Banana Pi R1" the defaults are working properly? You can test with the following command: rm -f /etc/board.json /etc/config/ne

[OpenWrt-Devel] Board detection for Lamobo R1 fails

2015-12-09 Thread Vasco Steinmetz
Hi, I'm trying to use the /etc/board.d/02_network board specific defaults for the Lamobo R1 (like the integrated switch) which got recently committed. Apparently in sunxi_board_detect() the following case does not match: model="$( cat /proc/device-tree/model )" case "$model" in