On Wed, Jun 26, 2019 at 9:13 PM Robert Heller <[email protected]> wrote:
>
> At Wed, 26 Jun 2019 17:15:40 -0500 Robert Nelson <[email protected]>
> wrote:
>
> >
> > On Wed, Jun 26, 2019 at 1:27 PM Robert Heller <[email protected]> wrote:
> > >
> > > Is there *current* and *correct* documentation about uBoot, uEnv.txt,
> > > capemgr,
> > > and CAN for the Beagle Bone Black? All of the hits I am getting doing web
> > > searches are for older pages, most of which do not work (or don't seem to
> > > work) with a current kernel (4.14.108-ti-r106). Or do I need a different
> > > kernel?
> >
> > Both implementations read the eeprom the same way and load the
> > approprate overlay..
> >
> > Your "written" eeprom is wrong..
> >
> > Look at the examples *.dump here:
> >
> > https://github.com/RobertCNelson/boot-scripts/tree/master/device/bone/capes
>
>
> OK, now I am throughly confused. I wrote the cape eeprom based on the
> documentation in the "BeagleBone Black System Reference Manual", Revision A4,
> January 2, 2013, Table 9 on page 62 and Table 10 on page 64.
>
> The cape EEProms in /opt/scripts/device/bone/capes/ don't appear to match the
> above documentation. Is that documentation wrong? Where is the correct
> documentation?
I doubt the documentation is wrong, we've been doing it the same way
since 3.8.x, that's been like 10 years ago now..
Here is another example for reference:
[ 2.343333] bone_capemgr bone_capemgr: Baseboard:
'A335BNLT,000C,1713BBBG1255'
[ 2.343368] bone_capemgr bone_capemgr:
compatible-baseboard=ti,beaglebone-black - #slots=4
[ 2.382090] bone_capemgr bone_capemgr: slot #0:
'nh7cape,A0,Cembsoft,BB-BONE-NH7C-01'
[ 2.421993] bone_capemgr bone_capemgr: slot #1: No cape found
[ 2.461987] bone_capemgr bone_capemgr: slot #2: No cape found
[ 2.501988] bone_capemgr bone_capemgr: slot #3: No cape found
[ 2.502246] bone_capemgr bone_capemgr: initialized OK.
[ 3.514365] bone_capemgr bone_capemgr: loader: failed to load
slot-0 BB-BONE-NH7C-01:A0 (prio 0)
The eeprom had:
'nh7cape,A0,Cembsoft,BB-BONE-NH7C-01'
So it looks for the file: "BB-BONE-NH7C-01-A0.dtbo" so by comma's: $4:$2
in memory the eeprom is:
struct am335x_cape_eeprom_id {
unsigned int header;
char eeprom_rev[2];
char board_name[32];
char version[4];
char manufacture[16];
char part_number[16];
char number_of_pins[2];
char serial_number[12];
char pin_usage[140];
char vdd_3v3exp[ 2];
char vdd_5v[ 2];
char sys_5v[2];
char dc_supplied[2];
};
nothing beyond using part_number,version was "ever" utilized in the
original 3.8 kernel..
Regards,
--
Robert Nelson
https://rcn-ee.com/
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CAOCHtYi%3DPU_bVH%3DOBrizBmoWp6c%3DQ82nBKUS7784uDp6BZJsHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.