baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

117 views
Skip to first unread message

Luther Goh Lu Feng

unread,
Feb 14, 2018, 10:16:14 PM2/14/18
to BeagleBoard
I am running a custom image of Debian Stretch on BBB, downgraded to 4.4.54-ti-r93. On this image, /sys/devices/platform/bone_capemgr/baseboard/serial-number exists. However after I perform an upgrade to 4.4.113-ti-r146 using sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-4_4, /sys/devices/platform/bone_capemgr/baseboard/ disappears.

I seek help to clarify if this is a known issue. Thanks!


--Luther

Robert Nelson

unread,
Feb 14, 2018, 10:46:35 PM2/14/18
to Beagle Board
When U-Boot Overlays are active that directory is removed..

Regards,

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

Luther Goh Lu Feng

unread,
Feb 15, 2018, 12:33:37 AM2/15/18
to Beagle Board, Robert Nelson
I see. I need the serial number of the BBB. Previously I extracted it from /sys/devices/platform/bone_capemgr/baseboard/serial-number. Where can I get the equivalent now?


--Luther

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/rtB2f4Aqd-Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYj-qk8msgQoj%2BU0zjpqOed77eCPwQozFFj56d4VBHS%3DSw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Luther Goh Lu Feng

unread,
Feb 15, 2018, 12:36:13 AM2/15/18
to Beagle Board, Robert Nelson
I would also like to know when the U-boot overlays changed from being inactive to being active. Is it specifically during the reboot into the new kernel?


--Luther

To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/2069203780.1299543.1518672797609%40mail.yahoo.com.

Robert Nelson

unread,
Feb 15, 2018, 1:12:05 PM2/15/18
to Luther Goh Lu Feng, Beagle Board
On Wed, Feb 14, 2018 at 11:33 PM, Luther Goh Lu Feng <elf...@yahoo.com> wrote:
> I see. I need the serial number of the BBB. Previously I extracted it from
> /sys/devices/platform/bone_capemgr/baseboard/serial-number. Where can I get
> the equivalent now?

sudo hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -n 28 |
cut -b 5-28

Robert Nelson

unread,
Feb 15, 2018, 1:15:29 PM2/15/18
to Luther Goh Lu Feng, Beagle Board
On Wed, Feb 14, 2018 at 11:35 PM, Luther Goh Lu Feng <elf...@yahoo.com> wrote:
> I would also like to know when the U-boot overlays changed from being
> inactive to being active. Is it specifically during the reboot into the new
> kernel?

well between r93 -> r146..

https://github.com/RobertCNelson/ti-linux-kernel-dev/commits/ti-linux-4.4.y

r93: Mar 16, 2017
r146: Feb 2, 2018

So i'd say mid summer of 2017..

Luther Goh Lu Feng

unread,
Feb 18, 2018, 10:01:36 PM2/18/18
to beagl...@googlegroups.com, Robert Nelson
When available, the contents of `/sys/devices/platform/bone_capemgr/baseboard/serial-number` and `/sys/bus/i2c/devices/0-0050/eeprom` differ. Are they expected to be the same or are they 2 different type of serial numbers altogether? And are both unique? Thanks!


--Luther

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/rtB2f4Aqd-Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsub...@googlegroups.com.

Luther Goh Lu Feng

unread,
Feb 19, 2018, 11:50:26 AM2/19/18
to beagl...@googlegroups.com, Robert Nelson
For clarity, the difference is as follows. Question: Is one more correct than the other?

# cat /sys/devices/platform/bone_capemgr/baseboard/serial-number 4816BBBK2650 # sudo hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -n 28 | cut -b 5-28 A335BNLTEIA04816BBBK2650

To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/370050950.1108776.1519009270202%40mail.yahoo.com.

Robert Nelson

unread,
Feb 19, 2018, 11:59:40 AM2/19/18
to Luther Goh Lu Feng, Beagle Board
On Mon, Feb 19, 2018 at 10:50 AM, Luther Goh Lu Feng <elf...@yahoo.com> wrote:
> For clarity, the difference is as follows. Question: Is one more correct
> than the other?
>
> # cat /sys/devices/platform/bone_capemgr/baseboard/serial-number
> 4816BBBK2650 # sudo hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom
> -n 28 | cut -b 5-28 A335BNLTEIA04816BBBK2650

A335BNLTEIA04816BBBK2650

A335BNLT -> "BeagleBone Black Family"
EIA0 -> "Element14 BeagleBone Black Industrial"
4816BBBK2650 -> "Serial"

If all you want is the serial, adjust the "5" in the "cut -b 5-28" option

Luther Goh Lu Feng

unread,
Mar 2, 2018, 1:06:06 AM3/2/18
to beagl...@googlegroups.com, Robert Nelson
Is there a way to get the serial number without using sudo?

--Luther

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/rtB2f4Aqd-Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages