『對比』有無之差異,通常是探索的切入點。那麼將用什麼 HATs add-on board 來作比較呢?或許因為
rpi-update
An easier way to get the latest firmware for your Raspberry Pi.
更新的太快,而且 HATs 基本上亦不支援多卡堆疊 stackable ,所以市場上大多的擴充版都沒有 ID EEPROM 的哩。幸而想起了
Flash your DAC+ for automatic configuration
Some people have asked why there is a button on board of some HiFiBerry cards. This button allows to write the EEPROM on the board. But what is it used for? It can be used to store configuration data for the HiFiBerry sound card. With the flash, the operating system can automatically detect what drivers need to be loaded for your HiFiBerry sound card. This means there is no need for editing config.txt anymore.
This makes the flash especially interesting for people that want to experiment with a lot of distributions.
,恰巧也有這卡,正好用來一探究竟也。
且依前文章法,試行一番︰
pi@raspberrypi:~
pi@raspberrypi:~
pi@raspberrypi:~ i2cdetect -l i2c-0 i2c 3f205000.i2c I2C adapter pi@raspberrypi:~
pi@raspberrypi:~
pi@raspberrypi:~ sudo ./eepflash.sh -r -f=test.eep -t=24c32 This will attempt to talk to an eeprom at i2c address 0x50. Make sure there is an eeprom at this address. This script comes with ABSOLUTELY no warranty. Continue only if you know what you are doing. Do you wish to continue? (yes/no): yes Reading... 8+0 records in 8+0 records out 4096 bytes (4.1 kB) copied, 0.266692 s, 15.4 kB/s Done. pi@raspberrypi:~/hats/eepromutils i2cdetect -y 3 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- pi@raspberrypi:~/hats/eepromutils
pi@raspberrypi:~/hats/eepromutils
順道驗證 kernel 4.X dtoverlay 動態起始之本領,
pi@raspberrypi:~/hats/eepromutils dmesg | tail [ 12.095929] Bluetooth: BNEP socket layer initialized [ 28.575014] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 147.674878] bcm2708_i2c 3f205000.i2c: BSC0 Controller at 0x3f205000 (irq 83) (baudrate 100000) [ 340.219207] i2c-gpio i2c@0: using pins 0 (SDA) and 1 (SCL) [ 340.344276] at24 3-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write [ 340.344326] i2c i2c-3: new_device: Instantiated device 24c32 at 0x50 [ 697.500102] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 83) (baudrate 100000) [ 697.570416] snd-rpi-hifiberry-dacplus soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered [ 697.570433] snd-rpi-hifiberry-dacplus soc:sound: snd_soc_register_card() failed: -517 [ 697.639447] snd-rpi-hifiberry-dacplus soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok pi@raspberrypi:~/hats/eepromutils $
當真是開市大吉的耶!!