Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

sam9x75_chip_id

Export the CHIP ID and the Extended ID register of the Microchip SAM9x75 into the sysfs.

Steps:

Export the ARCH & CROSS_COMPILE environment variables to "arm" and "arm-linux-gnueabi-" respectively.

make KDIR=

The driver module "chip_id.ko" will be generated locally which can be transferred to the target and loaded using 'insmod' command.

We can then query the chip ID and the extended ID register as below from the command line.

root@sam9x75-curiosity-sd:/# cat /sys/kernel/chip_info/chip_id Chip ID: 0x89750030, Extended ID: 0x20

About

Export the CHIP ID and the Extended ID register of the Microchip SAM9x75 into the sysfs.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages