RPI2 Ready To Go !?

樹莓派 2 B 已經發行一個月了,在《春雷早發︰樹莓派 2 Model B ︰早鳥篇》裡談到的 GPIO 問題大體都解決了。  kernel 也已經更新至︰

pi@raspberrypi ~ $ cat /proc/version 
Linux version 3.18.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015

現下最大的麻煩大概是

Pi 2 is much more picky than B+ when it comes to memory cards and throws mmcblk0 errors randomly when rebooting #372

就作者測試所知,這個問題也許出在『 kernel 』﹐因為同一片 SD card 如果用 Debian 8 少有問題,然而在 raspbian 上卻會發生

RPI2 Boot issues

。假使你有幸碰到,最簡單的解決方案就是

嘗試多開幾次機!!或者在『 /boot/config.txt 』上加上一行

kernel=kernel7.img

直接告訴 start.elf 使用 arm v7 的 kernel ,據聞這可以增加開機成功率!?或許再更新 raspberrypi/firmware

pi@raspberrypi ~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8107  100  8107    0     0  14692      0 --:--:-- --:--:-- --:--:-- 26067
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 3.18.7-v7+
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    144      0 --:--:--  0:00:01 --:--:--   197
100 43.4M  100 43.4M    0     0   451k      0  0:01:38  0:01:38 --:--:--  467k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 3.18.8-v7+
 *** depmod 3.18.8+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 6f1db5b734a8cf5217cafd983b1ff9c84c1c5013
 *** A reboot is needed to activate the new firmware

pi@raspberrypi ~ $ sudo reboot

Broadcast message from root@raspberrypi (pts/0) (Wed Mar  4 17:07:55 2015):
The system is going down for reboot NOW!

pi@raspberrypi ~ $ cat /proc/version 
Linux version 3.18.8-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #764 SMP PREEMPT Tue Mar 3 15:22:38 GMT 2015

彷彿不管用??

是否勇敢進入『 RPI BCM2708 Parameters 』調適的世界︰

# 嘗試批配 SD 卡宣稱之 high speed mode emmc_clock_freq 

pi@raspberrypi ~ $ cat /proc/cmdline 
dma.dmachans=0x7f35 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2709.boardrev=0xa01041 bcm2709.serial=0xfc60130d smsc95xx.macaddr=B8:27:EB:60:13:0D bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  sdhci-bcm2708.emmc_clock_freq=480000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=memory elevator=deadline rootwait splash quiet plymouth.ignore-serial-consoles

 

說不定會有意料之外的驚奇!!