Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-03-01 Thread 'Luther Goh Lu Feng' via BeagleBoard
 Is there a way to get the serial number without using sudo?
--Luther
On Tuesday, February 20, 2018, 12:59:42 AM GMT+8, Robert Nelson 
 wrote:  
 
 On Mon, Feb 19, 2018 at 10:50 AM, Luther Goh Lu Feng  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

Regards,

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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgPpGF9aBXdVX%3Dk_gsVpSeJ%3DO%3DtUQOBAQ5Mv_Dy2UzWQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1533629786.8318835.1519970742875%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-19 Thread Robert Nelson
On Mon, Feb 19, 2018 at 10:50 AM, Luther Goh Lu Feng  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

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgPpGF9aBXdVX%3Dk_gsVpSeJ%3DO%3DtUQOBAQ5Mv_Dy2UzWQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-19 Thread 'Luther Goh Lu Feng' via BeagleBoard
 For clarity, the difference is as follows. Question: Is one more correct than 
the other?
# cat /sys/devices/platform/bone_capemgr/baseboard/serial-number4816BBBK2650# 
sudo hexdump -e '8/1 "%c"' /sys/bus/i2c/devices/0-0050/eeprom -n 28 | cut -b 
5-28A335BNLTEIA04816BBBK2650

On Monday, February 19, 2018, 11:01:39 AM GMT+8, 'Luther Goh Lu Feng' via 
BeagleBoard  wrote:  
 
  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
On Friday, February 16, 2018, 2:15:30 AM GMT+8, Robert Nelson 
 wrote:  
 
 On Wed, Feb 14, 2018 at 11:35 PM, Luther Goh Lu Feng  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..

Regards,

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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhao3AtHyx7O6%2B7evZ8LvU4OAwB1veCEi2v3qkDGgyiSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/370050950.1108776.1519009270202%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/786039903.1497484.1519059004320%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-18 Thread 'Luther Goh Lu Feng' via BeagleBoard
 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
On Friday, February 16, 2018, 2:15:30 AM GMT+8, Robert Nelson 
 wrote:  
 
 On Wed, Feb 14, 2018 at 11:35 PM, Luther Goh Lu Feng  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..

Regards,

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

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhao3AtHyx7O6%2B7evZ8LvU4OAwB1veCEi2v3qkDGgyiSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/370050950.1108776.1519009270202%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-15 Thread Robert Nelson
On Wed, Feb 14, 2018 at 11:35 PM, Luther Goh Lu Feng  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..

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhao3AtHyx7O6%2B7evZ8LvU4OAwB1veCEi2v3qkDGgyiSw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-15 Thread Robert Nelson
On Wed, Feb 14, 2018 at 11:33 PM, Luther Goh Lu Feng  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

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjoGMM3e6T9WWYZirTp0SFOJxzOQWw-Fo78LRCV0Gi-BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-14 Thread 'Luther Goh Lu Feng' via BeagleBoard
 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
On Thursday, February 15, 2018, 1:33:38 PM GMT+8, 'Luther Goh Lu Feng' via 
BeagleBoard  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?

--Luther
On Thursday, February 15, 2018, 11:46:38 AM GMT+8, Robert Nelson 
 wrote:  
 
 On Wed, Feb 14, 2018 at 9:16 PM, 'Luther Goh Lu Feng' via BeagleBoard
 wrote:
> 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!
>

When U-Boot Overlays are active that directory is removed..

Regards,

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

-- 
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+unsubscr...@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.
  

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2069203780.1299543.1518672797609%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/972355712.1299704.1518672957072%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-14 Thread 'Luther Goh Lu Feng' via BeagleBoard
 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
On Thursday, February 15, 2018, 11:46:38 AM GMT+8, Robert Nelson 
 wrote:  
 
 On Wed, Feb 14, 2018 at 9:16 PM, 'Luther Goh Lu Feng' via BeagleBoard
 wrote:
> 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!
>

When U-Boot Overlays are active that directory is removed..

Regards,

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

-- 
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+unsubscr...@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.
  

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2069203780.1299543.1518672797609%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-14 Thread Robert Nelson
On Wed, Feb 14, 2018 at 9:16 PM, 'Luther Goh Lu Feng' via BeagleBoard
 wrote:
> 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!
>

When U-Boot Overlays are active that directory is removed..

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 beagleboard+unsubscr...@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.


[beagleboard] baseboard folder disappears in bone_capemgr after kernel upgrade to latest 4.4 kernel

2018-02-14 Thread 'Luther Goh Lu Feng' via 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

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3748c7a4-4b82-4f13-b0c7-f03059a20f15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.