Raspberry Pi Zero、HDMIディスプレイ無しだとどうしよう
2016年1月12日(火) 21:45 JST
閲覧数 13,422
Raspberry Pi Zeroの火入れ。
Zero単体ではなくセットを購入していて良かったのはケース付属な点ではなかった、mini HDMIとHDMIの変換コネクタが付属していた点だった。
microHDMIのケーブルは持っていたものの、nimi HDMIは持っていなかったという。
USBにしろSIMにしろHDMIにしろ、通常、mini、microと3種類用意するのは勘弁してほしい。財布に優しくない。。。
とりあえず、キーボード、マウスもmicro USBから変換して使用。
全部変換したら、スマートなRaspberry Pi Zeroがスマートでは無い姿になってしまった。
やっぱり、Internetに繋がって欲しいですね。
HDMIでコンソール写ってくれてもそんなに嬉しさがなかった。。。
こういう使い方の為にZeroを買ったんじゃなかった。
HDMIが繋がらなかったらどうするのかという事で、やはり行き着く先はシリアルコンソールだった。。。
いや、落ち着く。
接続はピンヘッダ6(GND), 8(TX), 10(RX)です。速度は、115,200。(確認はRaspbian Jessie lite)
コンソールにアクセスできたしいいんだけど、Internetに繋がってないからapt-getもできないな。
うーん、やっぱりInternetに出たい。
Zero単体ではなくセットを購入していて良かったのはケース付属な点ではなかった、mini HDMIとHDMIの変換コネクタが付属していた点だった。
microHDMIのケーブルは持っていたものの、nimi HDMIは持っていなかったという。
USBにしろSIMにしろHDMIにしろ、通常、mini、microと3種類用意するのは勘弁してほしい。財布に優しくない。。。
とりあえず、キーボード、マウスもmicro USBから変換して使用。
全部変換したら、スマートなRaspberry Pi Zeroがスマートでは無い姿になってしまった。
やっぱり、Internetに繋がって欲しいですね。
HDMIでコンソール写ってくれてもそんなに嬉しさがなかった。。。
こういう使い方の為にZeroを買ったんじゃなかった。
HDMIが繋がらなかったらどうするのかという事で、やはり行き着く先はシリアルコンソールだった。。。
いや、落ち着く。
接続はピンヘッダ6(GND), 8(TX), 10(RX)です。速度は、115,200。(確認はRaspbian Jessie lite)
コンソールにアクセスできたしいいんだけど、Internetに繋がってないからapt-getもできないな。
うーん、やっぱりInternetに出たい。
Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.1.13+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 [ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine model: Raspberry Pi ? Rev 1.2 [ 0.000000] cma: Reserved 8 MiB at 0x1b800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113680 [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x900092 bcm2708.serial=0x483178a3 smsc95xx.macaddr=B8:27:EB:31:78:A3 bcm2708_fb.fbswap=1 bcm2708.disk_led_gpio=47 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 436488K/458752K available (6137K kernel code, 489K rwdata, 1788K rodata, 352K init, 720K bss, 14072K reserved, 8192K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB) [ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc07c5630 (7926 kB) [ 0.000000] .init : 0xc07c6000 - 0xc081e000 ( 352 kB) [ 0.000000] .data : 0xc081e000 - 0xc08987e4 ( 490 kB) [ 0.000000] .bss : 0xc08987e4 - 0xc094c980 ( 721 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:522 [ 0.000000] clocksource stc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns [ 0.000015] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns [ 0.000058] Switching to timer-based delay loop, resolution 1000ns [ 0.000341] Console: colour dummy device 80x30 [ 0.001730] console [tty1] enabled [ 0.001794] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000) [ 0.001892] pid_max: default: 32768 minimum: 301 [ 0.002263] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002345] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.003441] Initializing cgroup subsys blkio [ 0.003539] Initializing cgroup subsys memory [ 0.003615] Initializing cgroup subsys devices [ 0.003683] Initializing cgroup subsys freezer [ 0.003748] Initializing cgroup subsys net_cls [ 0.003873] CPU: Testing write buffer coherency: ok [ 0.004003] ftrace: allocating 19796 entries in 59 pages [ 0.111222] Setting up static identity map for 0x81c0 - 0x81f8 [ 0.114059] devtmpfs: initialized [ 0.124572] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5 [ 0.125050] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.127055] pinctrl core: initialized pinctrl subsystem [ 0.127966] NET: Registered protocol family 16 [ 0.133571] DMA: preallocated 4096 KiB pool for atomic coherent allocations [ 0.135147] bcm2708.uart_clock = 3000000 [ 0.140003] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. [ 0.140090] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.140283] Serial: AMBA PL011 UART driver [ 0.140589] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev2 [ 0.526378] console [ttyAMA0] enabled [ 0.530794] bcm2835-mbox 2000b880.mailbox: mailbox enabled [ 0.598961] bcm2708-dmaengine 20007000.dma: DMA legacy API manager at f2007000, dmachans=0xf35 [ 0.607843] bcm2708-dmaengine 20007000.dma: Initialized 7 DMA channels (+ 1 legacy) [ 0.616363] bcm2708-dmaengine 20007000.dma: Load BCM2835 DMA engine driver [ 0.623357] bcm2708-dmaengine 20007000.dma: dma_debug:0 [ 0.629487] SCSI subsystem initialized [ 0.633722] usbcore: registered new interface driver usbfs [ 0.639379] usbcore: registered new interface driver hub [ 0.645002] usbcore: registered new device driver usb [ 0.651052] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-11-18 15:43 [ 0.686879] Switched to clocksource stc [ 0.738271] FS-Cache: Loaded [ 0.741597] CacheFiles: Loaded [ 0.760917] NET: Registered protocol family 2 [ 0.766805] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.774264] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.780897] TCP: Hash tables configured (established 4096 bind 4096) [ 0.787436] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.793335] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.800065] NET: Registered protocol family 1 [ 0.805093] RPC: Registered named UNIX socket transport module. [ 0.811214] RPC: Registered udp transport module. [ 0.815960] RPC: Registered tcp transport module. [ 0.820741] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.828593] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available [ 0.837919] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.860352] VFS: Disk quotas dquot_6.6.0 [ 0.864762] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.874485] FS-Cache: Netfs 'nfs' registered for caching [ 0.881557] NFS: Registering the id_resolver key type [ 0.886781] Key type id_resolver registered [ 0.891147] Key type id_legacy registered [ 0.899226] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.907292] io scheduler noop registered [ 0.911295] io scheduler deadline registered (default) [ 0.916847] io scheduler cfq registered [ 0.923368] BCM2708FB: allocated DMA memory 5bc00000 [ 0.928717] BCM2708FB: allocated DMA channel 0 @ f2007000 [ 0.939455] Console: switching to colour frame buffer device 82x26 [ 0.950839] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled [ 0.960750] vc-cma: Videocore CMA driver [ 0.966465] vc-cma: vc_cma_base = 0x00000000 [ 0.973010] vc-cma: vc_cma_size = 0x00000000 (0 MiB) [ 0.980175] vc-cma: vc_cma_initial = 0x00000000 (0 MiB) [ 0.987629] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB) [ 1.018832] brd: module loaded [ 1.032886] loop: module loaded [ 1.038933] vchiq: vchiq_init_state: slot_zero = 0xdbc80000, is_master = 0 [ 1.049704] Loading iSCSI transport class v2.0-870. [ 1.057934] usbcore: registered new interface driver smsc95xx [ 1.065476] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.273191] Core Release: 2.80a [ 1.277999] Setting default values for core params [ 1.284346] Finished setting default values for core params [ 1.491880] Using Buffer DMA mode [ 1.496780] Periodic Transfer Interrupt Enhancement - disabled [ 1.504233] Multiprocessor Interrupt Enhancement - disabled [ 1.511475] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 1.517477] Dedicated Tx FIFOs mode [ 1.523018] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: vi[ 3.279515] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 3.305921] systemd[1]: Expecting device dev-ttyAMA0.device... [ 3.317636] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 3.329927] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 3.341799] systemd[1]: Starting Remote File Systems (Pre). [ 3.352352] systemd[1]: Reached target Remote File Systems (Pre). [ 3.361046] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ 3.377773] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.391737] systemd[1]: Starting Encrypted Volumes. [ 3.401919] systemd[1]: Reached target Encrypted Volumes. [ 3.409935] systemd[1]: Starting Swap. [ 3.418856] systemd[1]: Reached target Swap. [ 3.425372] systemd[1]: Expecting device dev-mmcblk0p1.device... [ 3.436336] systemd[1]: Starting Root Slice. [ 3.445640] systemd[1]: Created slice Root Slice. [ 3.452647] systemd[1]: Starting User and Session Slice. [ 3.463045] systemd[1]: Created slice User and Session Slice. [ 3.471059] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 3.482793] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 3.492025] systemd[1]: Starting Delayed Shutdown Socket. [ 3.502218] systemd[1]: Listening on Delayed Shutdown Socket. [ 3.510129] systemd[1]: Starting Journal Socket (/dev/log). [ 3.520543] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.528770] systemd[1]: Starting udev Control Socket. [ 3.538710] systemd[1]: Listening on udev Control Socket. [ 3.546187] systemd[1]: Starting udev Kernel Socket. [ 3.555871] systemd[1]: Listening on udev Kernel Socket. [ 3.563447] systemd[1]: Starting Journal Socket. [ 3.572995] systemd[1]: Listening on Journal Socket. [ 3.580329] systemd[1]: Starting System Slice. [ 3.589711] systemd[1]: Created slice System Slice. [ 3.596717] systemd[1]: Starting File System Check on Root Device... [ 3.612473] systemd[1]: Starting system-systemd\x2dfsck.slice. [ 3.634283] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 3.648971] systemd[1]: Starting system-getty.slice. [ 3.664304] systemd[1]: Created slice system-getty.slice. [ 3.673467] systemd[1]: Starting system-serial\x2dgetty.slice. [ 3.689708] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 3.699295] systemd[1]: Starting Increase datagram queue length... [ 3.725140] systemd[1]: Starting Restore / save the current clock... [ 3.761834] systemd[1]: Starting udev Coldplug all Devices... [ 3.814045] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 3.905467] systemd[1]: Starting Load Kernel Modules... [ 4.014144] systemd[1]: Started Set Up Additional Binary Formats. [ 4.059814] systemd[1]: Mounted Huge Pages File System. [ 4.115849] systemd[1]: Mounting Debug File System... [ 4.156721] systemd[1]: Mounting POSIX Message Queue File System... [ 4.191131] systemd[1]: Starting Slices. [ 4.217213] systemd[1]: Reached target Slices. [ 4.253008] systemd[1]: Mounted POSIX Message Queue File System. [ 4.272806] systemd[1]: Mounted Debug File System. [ 4.286619] systemd[1]: Started File System Check on Root Device. [ 4.315915] systemd[1]: Started Increase datagram queue length. [ 4.329536] systemd[1]: Started Restore / save the current clock. [ 4.357885] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 4.392267] systemd[1]: Started Load Kernel Modules. [ 4.423612] systemd[1]: Time has been changed [ 4.546125] systemd[1]: Started udev Coldplug all Devices. [ 4.767955] systemd[1]: Starting Apply Kernel Variables... [ 4.784555] systemd[1]: Mounting Configuration File System... [ 4.811402] systemd[1]: Mounted FUSE Control File System. Raspbian GNU/Linux 8 raspberrypi ttyAMA0 raspberrypi login: