User Tools

Site Tools


pijack:hat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pijack:hat [2016/04/05 20:48] – [Docs] marcelpijack:hat [2016/10/11 10:00] (current) – marcel
Line 4: Line 4:
 {{https://www.raspberrypi.org/wp-content/uploads/2014/04/bplus-gpio.png}} {{https://www.raspberrypi.org/wp-content/uploads/2014/04/bplus-gpio.png}}
  
-====== Docs ======+====== Flashing PiJack's EEPROM ======
  
 <code> <code>
-#enable i2c using raspi-config +sudo apt-get update 
-apt-get install i2c-tools+sudo apt-get install git
  
- +# edit /boot/config.txt and add the following to the end of the file (in this order)
-/boot/config.txt (in this order!!)+
 dtparam=i2c=on dtparam=i2c=on
 dtparam=i2c_vc=on dtparam=i2c_vc=on
-dtoverlay=enc28j60 
-EOF 
- 
-i2cdetect -a -y 0 
- 
-./eepmake pijack_settings.txt pijack.eep /boot/overlays/enc28j60-overlay.dtb 
- 
  
-./eepflash.sh -w -f=blank.eep -t=24c32 +# reboot pi
-hexdump /sys/class/i2c-adapter/i2c-0/0-0050/eeprom +
-./eepflash.sh -w -f=pijack.eep -t=24c32 +
-hexdump /sys/class/i2c-adapter/i2c-0/0-0050/eeprom+
  
-#see if hat is recognized +# login as user pi 
-cd /proc/device-tree/hat/+cd && mkdir git 
 +cd git 
 +# change 'hecko'to your BitBucket account name 
 +git clone https://hecko@bitbucket.org/hotgluetech/pijack-production-tests.git 
 +cd pijack-production-tests/bin 
 +# 1 is serial number - written on every PiJack - serial number defines MAC address that will be generated for the device 
 +sudo ./make_dtb.py -s 1
  
 </code> </code>
pijack/hat.1459885729.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki