Skip to content

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

License

Notifications You must be signed in to change notification settings

gehariprasath/sam9x75_chip_id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published