[U-Boot] u-boot 2016.01-rc2 detects BeagleBone Black incorrectly

Robert Nelson robertcnelson at gmail.com
Thu Dec 17 01:53:11 CET 2015


Hi Matwey

On Sat, Dec 12, 2015 at 3:14 AM, Matwey V. Kornilov
<matwey.kornilov at gmail.com> wrote:
> Hello,
>
> I am running 2016.01-rc on BBB (Embest replica)
>
> printenv shows the following:
>
> findfdt=if test $board_name = A335BONE; then setenv fdtfile
> am335x-bone.dtb; fi; if test $board_name = A335BNLT; then if test
> $board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; else setenv
> fdtfile am335x-boneblack.dtb; fi; fi; if test $board_name = A33515BB;
> then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK;
> then setenv fdtfile am335x-evmsk.dtb; fi; if test $fdtfile = undefined;
> then echo WARNING: Could not determine device tree to use; fi;
>
> after findfdt has been run,
>
> fdtfile=am335x-bonegreen.dtb
>
> But it is not correct. My $board_rev is the following, I have no idea
> why does it contain line break.
>
> board_name=A335BNLT
> board_rev=t\

Yuck, another variation!  Can you do me a favor and dump the eeprom:

https://github.com/beagleboard/image-builder/blob/master/readme.md

Download and run:

wget https://raw.githubusercontent.com/RobertCNelson/boot-scripts/master/device/bone/tester/show-eeprom.sh

sudo /bin/bash show-eeprom.sh

It uses hexdump and compatible with bb.org' 3.8/4.1/etc..

The green should only trigger on: 0x1a 0x00 0x00 0x00

http://git.denx.de/?p=u-boot.git;a=blobdiff;f=board/ti/am335x/board.c;h=f56d17ec58e17a6532b5df649249b4038b475897;hp=f0cb1e204ad550622df7848a993f1eb2f173bc43;hb=dfd1bb4ec89e8b1e87f0605af2345ad6dcf777da;hpb=e4aa8edb6e5cae256a5c5a3c5cd30e05e8f5a2b4

Regards,

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


More information about the U-Boot mailing list