This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
pijack:hat [2016/03/30 21:24] marcel |
pijack:hat [2024/04/22 15:38] (current) |
||
|---|---|---|---|
| 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 | ||
| + | # reboot pi | ||
| + | # login as user pi | ||
| + | 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> | ||