Skip to contentSkip to conversation

BeagleBone Black: u-boot 2016.03-rc2 worng fdt detection

U-Boot Matwey V. Kornilov 2 participants 5 messages Mar 7, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

I am running u-boot 2016.03-rc2 on BeagleBone Black and it is incorrectly detected as BeagleBone Green.

fdtfile=am335x-bonegreen.dtb

=> print board_name
board_name=A335BNLT
=> print board_rev
board_rev=t
ue

Similar issue was here on 2016.01.

#1 lore raw
Quoted 7 lines · Matwey V. Kornilov

Hello,

I am running u-boot 2016.03-rc2 on BeagleBone Black and it is incorrectly detected as BeagleBone Green.

fdtfile=am335x-bonegreen.dtb

Quoted 8 lines

=> print board_name
board_name=A335BNLT
=> print board_rev
board_rev=t
ue

Similar issue was here on 2016.01.

CC'ing Steven,

as he's rewritten the eeprom patchset:

https://patchwork.ozlabs.org/patch/587572/

Steven, here's the magical eeprom values this board needs:

https://gist.github.com/RobertCNelson/21f44591c78daed7c637

I've had no luck tracking down another copy of this unique board in the field for purchase.

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/
#2 lore raw
Quoted 22 lines · Robert Nelson
Quoted 7 lines · Matwey V. Kornilov

Hello,

I am running u-boot 2016.03-rc2 on BeagleBone Black and it is incorrectly detected as BeagleBone Green.

fdtfile=am335x-bonegreen.dtb

Quoted 8 lines

=> print board_name
board_name=A335BNLT
=> print board_rev
board_rev=t
ue

Similar issue was here on 2016.01.

CC'ing Steven,

as he's rewritten the eeprom patchset:

Quoted 8 lines

https://patchwork.ozlabs.org/patch/587572/

Steven, here's the magical eeprom values this board needs:

https://gist.github.com/RobertCNelson/21f44591c78daed7c637

I've had no luck tracking down another copy of this unique board in the field for purchase.

and here's the older thread:

http://lists.denx.de/pipermail/u-boot/2015-December/237604.html

The 'test' operator:

http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/am335x_evm.h;h=6ebe0b3866f9b137472cc080c9eb8f1e38233186;hb=HEAD#l185

is chocking on the 0x0a character..

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/
#3 lore raw

2016-03-07 18:01 GMT+03:00 Robert Nelson <[email protected]>:

Quoted 34 lines · Robert Nelson
Quoted 22 lines
Quoted 7 lines · Matwey V. Kornilov

Hello,

I am running u-boot 2016.03-rc2 on BeagleBone Black and it is incorrectly detected as BeagleBone Green.

fdtfile=am335x-bonegreen.dtb

Quoted 8 lines

=> print board_name
board_name=A335BNLT
=> print board_rev
board_rev=t
ue

Similar issue was here on 2016.01.

CC'ing Steven,

as he's rewritten the eeprom patchset:

Quoted 8 lines

https://patchwork.ozlabs.org/patch/587572/

Steven, here's the magical eeprom values this board needs:

https://gist.github.com/RobertCNelson/21f44591c78daed7c637

I've had no luck tracking down another copy of this unique board in the field for purchase.

and here's the older thread:

Quoted 8 lines

http://lists.denx.de/pipermail/u-boot/2015-December/237604.html

The 'test' operator:

http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/am335x_evm.h;h=6ebe0b3866f9b137472cc080c9eb8f1e38233186;hb=HEAD#l185

is chocking on the 0x0a character..

Maybe just to fix the test operator? String comparison in bash processes \n character correctly.

Quoted 5 lines

Regards,

--
Robert Nelson
https://rcn-ee.com/

Signature · 4 lines
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://0x2207 at jabber.ru
#4 lore raw

2016-03-07 18:06 GMT+03:00 Matwey V. Kornilov <[email protected]>:

Quoted 39 lines

2016-03-07 18:01 GMT+03:00 Robert Nelson <[email protected]>:

Quoted 38 lines · Robert Nelson
Quoted 22 lines
Quoted 7 lines · Matwey V. Kornilov

Hello,

I am running u-boot 2016.03-rc2 on BeagleBone Black and it is incorrectly detected as BeagleBone Green.

fdtfile=am335x-bonegreen.dtb

Quoted 8 lines

=> print board_name
board_name=A335BNLT
=> print board_rev
board_rev=t
ue

Similar issue was here on 2016.01.

CC'ing Steven,

as he's rewritten the eeprom patchset:

Quoted 8 lines

https://patchwork.ozlabs.org/patch/587572/

Steven, here's the magical eeprom values this board needs:

https://gist.github.com/RobertCNelson/21f44591c78daed7c637

I've had no luck tracking down another copy of this unique board in the field for purchase.

and here's the older thread:

http://lists.denx.de/pipermail/u-boot/2015-December/237604.html

The 'test' operator:

Quoted 7 lines
Quoted 4 lines

http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/am335x_evm.h;h=6ebe0b3866f9b137472cc080c9eb8f1e38233186;hb=HEAD#l185

is chocking on the 0x0a character..

Maybe just to fix the test operator? String comparison in bash processes \n character correctly.

I see that there is not way to escape strings in make_argv() in common/command.c So argv is probably constructed incorrectly and has four elements "t", "ue", "=", "BBG1"

Quoted 14 lines
Quoted 6 lines

Regards,

--
Robert Nelson
https://rcn-ee.com/

--
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://0x2207 at jabber.ru

Signature · 4 lines
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://0x2207 at jabber.ru