In this tutorial, we will briefly introduce the Snappy ubuntu Image for pcDuino3.
LinkSprite recently released Snappy ubuntu Image. In the following I will show what is the Snappy system.
Snappy Ubuntu Core is in smart devices, and delivers ,bullet-proof security, reliable updates and the enormous Ubuntu ecosystem at your fingertips, bringing the developer’s favorite cloud platform to a wide range of internet, connected devices with autonomous machines.
If you want to know more, please refer to this.
Sounds great! Let’s review how to use it on pcDuino3.
First, burn the OS to a SD card. You can use win32diskimager in windows, or dd in linux or mac.
Note: Snappy image needs 4G of space to run so you need an SD card with a space greater than 4G.
Then, insert the card into the pcDuino3 board. The pcDuino3A only supports 100M Ethernet, but pcDuino3B and pcDuino3 Nano support 1Gbps MAC Ethernet.
If you know Snappy, then you probably know Snappy Ubuntu doesn’t have a Desktop. You can still use uart debug to observe system messages. The following is the whole system log.
[BEGIN] 2/9/2015 5:45:05 PM U-Boot SPL 2014.01-rc1 (Jun 03 2014 - 10:26:28) Board: pcDuino3 DRAM: 1024 MiB CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600 U-Boot 2014.01-rc1 (Jun 03 2014 - 10:26:28) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: pcDuino3 I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: emac Hit any key to stop autoboot: 0 reading uEnv.txt 312 bytes read in 2 ms (152.3 KiB/s) Loaded environment from uEnv.txt Running uenvcmd ... reading snappy-system.txt 1618 bytes read in 9 ms (174.8 KiB/s) reading a/uImage 10973288 bytes read in 493 ms (21.2 MiB/s) reading a/dtbs/pcduino3.dtb 23526 bytes read in 6 ms (3.7 MiB/s) ## Booting kernel from Legacy Image at 46000000 ... Image Name: Linux-3.18.3 Created: 2015-02-05 2:55:51 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 10973224 Bytes = 10.5 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 49000000 Booting using the fdt blob at 0x49000000 Loading Kernel Image ... OK Using Device Tree in place at 49000000, end 49008be5 Starting kernel ... 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 cpuacct [ 0.000000] Linux version 3.18.3 (pillar@server) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #20 SMP Thu Feb 5 10:55:43 HKT 2015 [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: LinkSprite pcDuino3 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] PERCPU: Embedded 9 pages/cpu @eeece000 s7360 r8192 d21312 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260434 [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/disk/by-label/system-a init=/lib/systemd/systemd ro panic=-1 fixrtc rootwait [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1023596K/1048576K available (5257K kernel code, 241K rwdata, 1620K rodata, 7296K init, 330K bss, 24980K reserved, 270336K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc06bf6c8 (6878 kB) [ 0.000000] .init : 0xc06c0000 - 0xc0de0000 (7296 kB) [ 0.000000] .data : 0xc0de0000 - 0xc0e1c6a8 ( 242 kB) [ 0.000000] .bss : 0xc0e1c6a8 - 0xc0e6efd0 ( 331 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns [ 0.008088] Switching to timer-based delay loop, resolution 41ns [ 0.014492] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns [ 0.022624] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 26843545593ns [ 0.030805] Console: colour dummy device 80x30 [ 0.035348] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.045805] pid_max: default: 32768 minimum: 301 [ 0.050700] Security Framework initialized [ 0.054998] AppArmor: AppArmor initialized [ 0.059252] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.065981] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.073902] Initializing cgroup subsys devices [ 0.078492] Initializing cgroup subsys freezer [ 0.083022] Initializing cgroup subsys blkio [ 0.087400] CPU: Testing write buffer coherency: ok [ 0.092793] /cpus/cpu@0 missing clock-frequency property [ 0.098193] /cpus/cpu@1 missing clock-frequency property [ 0.103622] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.109428] Setting up static identity map for 0x40011618 - 0x40011670 [ 0.117774] CPU1: Booted secondary processor [ 0.117820] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.117901] Brought up 2 CPUs [ 0.131062] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.137318] CPU: All CPU(s) started in HYP mode. [ 0.142020] CPU: Virtualization extensions available. [ 0.148130] devtmpfs: initialized [ 0.155573] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.163953] pinctrl core: initialized pinctrl subsystem [ 0.169636] regulator-dummy: no parameters [ 0.179546] NET: Registered protocol family 16 [ 0.184928] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.196976] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.205082] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.219853] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe [ 0.231975] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral [ 0.239294] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.251638] platform usb1-vbus: Driver reg-fixed-voltage requests probe deferral [ 0.259125] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.271463] platform usb2-vbus: Driver reg-fixed-voltage requests probe deferral [ 0.279143] vcc3v0: 3000 mV [ 0.282352] vcc3v3: 3300 mV [ 0.285554] vcc5v0: 5000 mV [ 0.289225] SCSI subsystem initialized [ 0.293669] usbcore: registered new interface driver usbfs [ 0.299288] usbcore: registered new interface driver hub [ 0.304785] usbcore: registered new device driver usb [ 0.310047] pps_core: LinuxPPS API ver. 1 registered [ 0.315114] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.324341] PTP clock support registered [ 0.328638] Advanced Linux Sound Architecture Driver Initialized. [ 0.335410] NetLabel: Initializing [ 0.338920] NetLabel: domain hash size = 128 [ 0.343356] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.348463] NetLabel: unlabeled traffic allowed by default [ 0.356184] DMA-API: preallocated 4096 debug entries [ 0.361237] DMA-API: debugging enabled by kernel config [ 0.366714] Switched to clocksource arch_sys_counter [ 0.372428] AppArmor: AppArmor Filesystem Enabled [ 0.387530] NET: Registered protocol family 2 [ 0.392731] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.400066] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.406728] TCP: Hash tables configured (established 8192 bind 8192) [ 0.413332] TCP: reno registered [ 0.416681] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.422766] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.429487] NET: Registered protocol family 1 [ 0.434399] RPC: Registered named UNIX socket transport module. [ 0.440436] RPC: Registered udp transport module. [ 0.445220] RPC: Registered tcp transport module. [ 0.450023] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.858394] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 0.867919] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.874116] Initialise system trusted keyring [ 0.878726] audit: initializing netlink subsys (disabled) [ 0.884320] audit: type=2000 audit(0.790:1): initialized [ 0.902547] NFS: Registering the id_resolver key type [ 0.907790] Key type id_resolver registered [ 0.912055] Key type id_legacy registered [ 0.916501] fuse init (API version 7.23) [ 0.921414] msgmni has been set to 1471 [ 0.925707] Key type big_key registered [ 0.930848] Key type asymmetric registered [ 0.935039] Asymmetric key parser 'x509' registered [ 0.940504] bounce: pool size: 64 pages [ 0.944738] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.952251] io scheduler noop registered [ 0.956261] io scheduler deadline registered [ 0.960655] io scheduler cfq registered (default) [ 0.972726] platform 1c13400.phy: Driver sun4i-usb-phy requests probe deferral [ 0.982594] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 1.052074] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.061664] console [ttyS0] disabled [ 1.085500] dw-apb-uart 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A [ 1.095616] console [ttyS0] enabled [ 1.095616] console [ttyS0] enabled [ 1.102689] bootconsole [earlycon0] disabled [ 1.102689] bootconsole [earlycon0] disabled [ 1.112891] platform 1c18000.sata: Driver ahci-sunxi requests probe deferral [ 1.120652] Rounding down aligned max_sectors from 4294967295 to 4294967288 [ 1.130437] stmmaceth 1c50000.ethernet: no regulator found [ 1.135989] stmmaceth 1c50000.ethernet: no reset control found [ 1.141847] Ring mode enabled [ 1.144901] No HW DMA feature register supported [ 1.149433] Normal descriptors [ 1.152755] TX Checksum insertion supported [ 1.166785] libphy: stmmac: probed [ 1.170203] eth0: PHY ID 02430c54 at 1 IRQ POLL (stmmac-0:01) active [ 1.176741] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.183266] ehci-platform: EHCI generic platform driver [ 1.188669] platform 1c14000.usb: Driver ehci-platform requests probe deferral [ 1.195959] platform 1c1c000.usb: Driver ehci-platform requests probe deferral [ 1.203287] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.209510] ohci-platform: OHCI generic platform driver [ 1.214844] platform 1c14400.usb: Driver ohci-platform requests probe deferral [ 1.222145] platform 1c1c400.usb: Driver ohci-platform requests probe deferral [ 1.229988] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 1.236826] sunxi-rtc 1c20d00.rtc: RTC enabled [ 1.241349] i2c /dev entries driver [ 1.254460] axp20x 0-0034: AXP20X driver loaded [ 1.259941] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.268970] device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com [ 1.278439] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found [ 1.284363] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.326965] sunxi-mmc 1c0f000.mmc: base:0xf00aa000 irq:64 [ 1.333437] usbcore: registered new interface driver usbhid [ 1.339052] usbhid: USB HID core driver [ 1.343562] TCP: cubic registered [ 1.347616] NET: Registered protocol family 10 [ 1.353405] sit: IPv6 over IPv4 tunneling driver [ 1.358861] NET: Registered protocol family 17 [ 1.363439] Key type dns_resolver registered [ 1.367904] Registering SWP/SWPB emulation handler [ 1.373500] Loading compiled-in X.509 certificates [ 1.385529] Loaded X.509 cert 'Magrathea: Glacier signing key: 16ee65099bacdfa57564c3b68620ac9ea939576f' [ 1.404068] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.415806] mmc0: new high speed SDHC card at address aaaa [ 1.422062] mmcblk0: mmc0:aaaa SU16G 14.8 GiB [ 1.427601] Key type encrypted registered [ 1.431686] AppArmor: AppArmor sha1 policy hashing enabled [ 1.431728] mmcblk0: p1 p2 p3 p4 [ 1.441193] ahci-5v: 5000 mV [ 1.444565] usb1-vbus: 5000 mV [ 1.448155] usb2-vbus: 5000 mV [ 1.516760] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP [ 1.524247] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1 [ 1.530169] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 1.539145] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc [ 1.548410] scsi host0: ahci_platform [ 1.552459] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88 [ 1.560742] ehci-platform 1c14000.usb: EHCI Host Controller [ 1.566346] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1 [ 1.574251] ehci-platform 1c14000.usb: irq 71, io mem 0x01c14000 [ 1.596727] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00 [ 1.603812] hub 1-0:1.0: USB hub found [ 1.607652] hub 1-0:1.0: 1 port detected [ 1.612231] ehci-platform 1c1c000.usb: EHCI Host Controller [ 1.617862] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2 [ 1.625737] ehci-platform 1c1c000.usb: irq 72, io mem 0x01c1c000 [ 1.646722] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 1.653692] hub 2-0:1.0: USB hub found [ 1.657511] hub 2-0:1.0: 1 port detected [ 1.662076] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 1.668745] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3 [ 1.676614] ohci-platform 1c14400.usb: irq 96, io mem 0x01c14400 [ 1.741592] hub 3-0:1.0: USB hub found [ 1.745380] hub 3-0:1.0: 1 port detected [ 1.750016] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 1.756655] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4 [ 1.764556] ohci-platform 1c1c400.usb: irq 97, io mem 0x01c1c400 [ 1.831555] hub 4-0:1.0: USB hub found [ 1.835346] hub 4-0:1.0: 1 port detected [ 1.839911] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-05 04:14:29 UTC (360869) [ 1.852891] vcc5v0: disabling [ 1.855877] vcc3v0: disabling [ 1.858988] ALSA device list: [ 1.861954] No soundcards found. [ 1.896733] ata1: SATA link down (SStatus 0 SControl 300) [ 1.913228] Freeing unused kernel memory: 7296K (c06c0000 - c0de0000) [ 1.926890] usb 1-1: new high-speed USB device number 2 using ehci-platform Loading, please wait... starting version 218 Network interface NamePolicy= disabled on kernel command line, i[ 2.013840] random: systemd-udevd urandom read with 1 bits of entropy available gnoring. Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [ 2.799553] initrd: mounting /dev/disk/by-label/system-a [ 2.810636] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 2.819843] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 2.839355] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.881111] initrd: mounting writable partition [ 2.890702] EXT4-fs (mmcblk0p4): couldn't mount as ext3 due to feature incompatibilities [ 2.900056] EXT4-fs (mmcblk0p4): couldn't mount as ext2 due to feature incompatibilities [ 3.369576] EXT4-fs (mmcblk0p4): recovery complete [ 3.375636] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: discard [ 3.393643] initrd: mounting /run Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. [ 4.151231] systemd[1]: systemd 218 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN) [ 4.169798] systemd[1]: Detected architecture 'arm'. Welcome to Ubuntu Vivid Vervet (development branch)! [ 4.198315] systemd[1]: Set hostname to <localhost.localdomain>. [ 4.205600] systemd[1]: Initializing machine ID from random generator. [ 4.212566] systemd[1]: Installed transient /etc/machine-id file. [ 4.617204] systemd[1]: Cannot add dependency job for unit systemd-vconsole-setup.service, ignoring: Unit console-setup.service failed to load: No such file or directory. [ 4.633747] systemd[1]: Cannot add dependency job for unit sshd-keygen.service, ignoring: Unit sshd-keygen.service failed to load: No such file or directory. [ 4.648299] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 4.666826] systemd[1]: Starting Encrypted Volumes. [ OK ] Reached target Encrypted Volumes. [ 4.686905] systemd[1]: Reached target Encrypted Volumes. [ 4.692418] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 4.700426] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.708102] systemd[1]: Starting Remote File Systems (Pre). [ OK ] Reached target Remote File Systems (Pre). [ 4.726873] systemd[1]: Reached target Remote File Systems (Pre). [ 4.733080] systemd[1]: Starting Swap. [ OK ] Reached target Swap. [ 4.756858] systemd[1]: Reached target Swap. [ 4.761346] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 4.770849] systemd[1]: Expecting device dev-ttyS0.device... Expecting device dev-ttyS0.device... [ 4.796905] systemd[1]: Expecting device dev-mmcblk0p1.device... Expecting device dev-mmcblk0p1.device... [ 4.816886] systemd[1]: Starting Root Slice. [ OK ] Created slice Root Slice. [ 4.836881] systemd[1]: Created slice Root Slice. [ 4.841755] systemd[1]: Starting udev Control Socket. [ OK ] Listening on udev Control Socket. [ 4.866865] systemd[1]: Listening on udev Control Socket. [ 4.872419] systemd[1]: Starting Journal Socket. [ OK ] Listening on Journal Socket. [ 4.896878] systemd[1]: Listening on Journal Socket. [ 4.902053] systemd[1]: Starting Delayed Shutdown Socket. [ OK ] Listening on Delayed Shutdown Socket. [ 4.926869] systemd[1]: Listening on Delayed Shutdown Socket. [ 4.932762] systemd[1]: Starting System Slice. [ OK ] Created slice System Slice. [ 4.956874] systemd[1]: Created slice System Slice. [ 4.961915] systemd[1]: Starting system-getty.slice. [ OK ] Created slice system-getty.slice. [ 4.986880] systemd[1]: Created slice system-getty.slice. [ 4.992424] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 5.020623] systemd[1]: Starting Setup Virtual Console... Starting Setup Virtual Console... [ 5.050787] systemd[1]: Starting Nameserver information manager... Starting Nameserver information manager... [ 5.080624] systemd[1]: Starting system-serialx2dgetty.slice. [ OK ] Created slice system-serialx2dgetty.slice. [ 5.107024] systemd[1]: Created slice system-serialx2dgetty.slice. [ 5.124635] systemd[1]: Started Set Up Additional Binary Formats. [ 5.142636] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 5.148671] systemd[1]: Starting Create list of required static device nodes for the current kernel... Starting Create list of required st... nodes for the current kernel... [ 5.180705] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ 5.207005] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 5.214117] systemd[1]: Starting User and Session Slice. [ OK ] Created slice User and Session Slice. [ 5.236931] systemd[1]: Created slice User and Session Slice. [ 5.242803] systemd[1]: Starting Slices. [ OK ] Reached target Slices. [ 5.266870] systemd[1]: Reached target Slices. [ 5.271502] systemd[1]: Starting udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 5.296880] systemd[1]: Listening on udev Kernel Socket. [ 5.302376] systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... [ 5.331247] systemd[1]: Mounted Huge Pages File System. [ 5.337100] systemd[1]: Starting Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 5.357015] systemd[1]: Listening on Journal Audit Socket. [ 5.367448] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 5.391214] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 5.430691] systemd[1]: Starting Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 5.456944] systemd[1]: Listening on Journal Socket (/dev/log). [ 5.463017] systemd[1]: Starting Journal Service... Starting Journal Service... [ 5.491301] systemd[1]: Mounting Debug File System... Mounting Debug File System... [ OK ] Mounted POSIX Message Queue File System. [ 5.547040] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ 5.577203] systemd[1]: Mounted Debug File System. [ OK ] Started Remount Root and Kernel File Systems. [ 5.597050] systemd[1]: Started Remount Root and Kernel File Systems. [ OK ] Started Setup Virtual Console. [ 5.627020] systemd[1]: Started Setup Virtual Console. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ 5.656984] systemd[1]: Started Create list of required static device nodes for the current kernel. [ OK ] Started Load Kernel Modules. [ 5.687148] systemd[1]: Started Load Kernel Modules. [ OK ] Started Nameserver information manager. [ 5.717007] systemd[1]: Started Nameserver information manager. [ OK ] Started Journal Service. [ 5.757024] systemd[1]: Started Journal Service. [ OK ] Started udev Coldplug all Devices. Mounting Configuration File System... Mounting FUSE Control File System... Starting Apply Kernel Variables... Starting Create Static Device Nodes in /dev... Starting Load/Save Random Seed... [ OK ] Mounted Configuration File System. [ OK ] Mounted FUSE Control File System. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [FAILED] Failed to start Load/Save Random Seed. See "systemctl status systemd-random-seed.service" for details. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). Mounting /home... Mounting /tmp... Mounting /var/lib/click/frameworks... Mounting /var/lib/sudo... Mounting /var/lib/cloud... Mounting /var/lib/dbus... Mounting /usr/share/click/frameworks... Mounting /var/lib/systemd/snappy... Mounting /var/lib/apparmor... Mounting /var/lib/systemd/click... Mounting /var/cache/apparmor... Mounting /etc/sysctl.d... Mounting /oem... Mounting /var/lib/apps... Mounting /var/lib/initramfs-tools... Mounting /var/lib/logrotate... Mounting /mnt... Mounting /etc/writable... Mounting /root... Mounting /var/lib/extrausers... Mounting /etc/sudoers.d... Mounting /etc/hosts... Mounting /var/lib/dhcp... Mounting /etc/apparmor.d/cache... Mounting /var/lib/system-image... Mounting /var/tmp... Mounting /etc/ssh... Mounting /apps... Mounting /etc/ufw... Mounting /var/log... [ OK ] Mounted /home. [ OK ] Mounted /apps. [ OK ] Mounted /oem. [ OK ] Mounted /tmp. [ OK ] Mounted /mnt. [ OK ] Mounted /var/lib/apps. [ OK ] Mounted /var/lib/cloud. [ OK ] Mounted /var/lib/dbus. [ OK ] Mounted /var/lib/dhcp. [ OK ] Mounted /var/lib/logrotate. [ OK ] Mounted /var/lib/sudo. [ OK ] Mounted /var/lib/system-image. [ OK ] Mounted /etc/sysctl.d. [ OK ] Mounted /etc/ufw. [ OK ] Mounted /etc/apparmor.d/cache. [ OK ] Mounted /var/cache/apparmor. [ OK ] Mounted /var/lib/apparmor. [ OK ] Mounted /var/tmp. [ OK ] Mounted /etc/ssh. [ OK ] Mounted /etc/writable. [ OK ] Mounted /var/lib/initramfs-tools. [ OK ] Mounted /var/lib/systemd/click. [ OK ] Mounted /var/lib/systemd/snappy. [ OK ] Mounted /usr/share/click/frameworks. [ OK ] Mounted /var/lib/click/frameworks. [ OK ] Mounted /root. [ OK ] Mounted /etc/sudoers.d. [ OK ] Mounted /etc/hosts. [ OK ] Mounted /var/lib/extrausers. [ OK ] Mounted /var/log. [ OK ] Started udev Kernel Device Manager. [ OK ] Found device /dev/ttyS0. [ OK ] Found device /dev/mmcblk0p1. Mounting /boot/uboot... [ OK ] Created slice system-ifup.slice. [ OK ] Reached target Paths. Starting (null)... Starting Copy rules generated while the root was ro... Starting Flush Journal to Persistent Storage... [ OK ] Mounted /boot/uboot. [ OK ] Started (null). [ OK ] Started Copy rules generated while the root was ro. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Reached target Local File Systems. Starting LSB: Raise network interfaces.... Starting Create Volatile Files and Directories... [ OK ] Reached target Remote File Systems. Starting LSB: AppArmor initialization... Starting Tell Plymouth To Write Out Runtime Data... [ OK ] Started Create Volatile Files and Directories. [ OK ] Started Tell Plymouth To Write Out Runtime Data. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started LSB: Raise network interfaces.. Starting ifup for eth0... Starting ifup for sit0... [ OK ] Started ifup for eth0. [ OK ] Started ifup for sit0. [ OK ] Reached target Network. [ OK ] Started LSB: AppArmor initialization. [ OK ] Reached target System Initialization. [ OK ] Reached target Timers. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting /etc/rc.local Compatibility... Starting Run Click system-level hooks... Starting Initial cloud-init job (pre-networking)... Starting Regular background program processing daemon... [ OK ] Started Regular background program processing daemon. Starting Cgroup management daemon... [ OK ] Started Cgroup management daemon. Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"... Starting Notify bootloader that boot was successful... Starting D-Bus System Message Bus... [ OK ] Started D-Bus System Message Bus. Starting Login Service... Starting Snappy WebDM... [ OK ] Started Snappy WebDM. Starting fhem: home automation server demo... [ OK ] Started fhem: home automation server demo. Starting Avahi daemon... [ OK ] Started Avahi daemon. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand". [ OK ] Started Login Service. [ OK ] Started Notify bootloader that boot was successful. [ OK ] Started Run Click system-level hooks. [ 21.179365] cloud-init[544]: Cloud-init v. 0.7.7 running 'init-local' at Thu, 05 Feb 2015 07:50:34 +0000. Up 20.87 seconds. [ OK ] Started Initial cloud-init job (pre-networking). Starting Initial cloud-init job (metadata service crawler)... [ 27.697084] cloud-init[677]: Cloud-init v. 0.7.7 running 'init' at Thu, 05 Feb 2015 07:50:40 +0000. Up 27.42 seconds. [ 27.792298] cloud-init[677]: ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++ [ 27.812228] cloud-init[677]: ci-info: +--------+-------+---------------+---------------+-------------------+ [ 27.832174] cloud-init[677]: ci-info: | Device | Up | Address | Mask | Hw-Address | [ 27.852310] cloud-init[677]: ci-info: +--------+-------+---------------+---------------+-------------------+ [ 27.872299] cloud-init[677]: ci-info: | sit0 | False | . | . | . | [ 27.892165] cloud-init[677]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | [ 27.912332] cloud-init[677]: ci-info: | eth0 | True | 192.168.1.140 | 255.255.255.0 | 1e:46:ac:87:10:49 | [ 27.932444] cloud-init[677]: ci-info: +--------+-------+---------------+---------------+-------------------+ [ 27.952389] cloud-init[677]: ci-info: +++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++++ [ 27.972254] cloud-init[677]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 27.992244] cloud-init[677]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 28.012439] cloud-init[677]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 28.032451] cloud-init[677]: ci-info: | 0 | 0.0.0.0 | 192.168.1.1 | 0.0.0.0 | eth0 | UG | [ 28.052255] cloud-init[677]: ci-info: | 1 | 192.168.1.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | [ 28.072449] cloud-init[677]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ OK ] Started Initial cloud-init job (metadata service crawler). Starting Permit User Sessions... Starting OpenBSD Secure Shell server... [ OK ] Started OpenBSD Secure Shell server. [ OK ] Reached target Cloud-config availability. Starting Apply the settings specified in cloud-config... [ OK ] Started Permit User Sessions. Starting Wait for Plymouth Boot Screen to Quit... Starting Terminate Plymouth Boot Screen... [ OK ] Started Wait for Plymouth Boot Screen to Quit. [ OK ] Started Terminate Plymouth Boot Screen. Starting Serial Getty on ttyS0... [ OK ] Started Serial Getty on ttyS0. Starting Getty on tty1... [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ 35.520325] cloud-init[714]: Cloud-init v. 0.7.7 running 'modules:config' at Thu, 05 Feb 2015 07:50:48 +0000. Up 34.99 seconds. Ubuntu Vivid Vervet (development branch) localhost.localdomain ttyS0 localhost login: [ 41.585537] cloud-init[729]: Cloud-init v. 0.7.7 running 'modules:final' at Thu, 05 Feb 2015 07:50:54 +0000. Up 41.07 seconds. [ 41.717065] cloud-init[729]: Cloud-init v. 0.7.7 finished at Thu, 05 Feb 2015 07:50:55 +0000. Datasource DataSourceNoCloudNet [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 41.69 seconds ubuntu Password: Login incorrect localhost.localdomain login: ubutu^H^H^C Ubuntu Vivid Vervet (development branch) localhost.localdomain ttyS0 localhost login: ubuntu Password: Last login: Thu Feb 5 07:50:56 UTC 2015 on ttyS0 Welcome to the Ubuntu Core rolling development release. * See https://ubuntu.com/snappy It's a brave new world here in snappy Ubuntu Core! This machine does not use apt-get or deb packages. Please see 'snappy --help' for app installation and transactional updates. ubuntu@localhost:~$ [END] 2/9/2015 5:46:35 PM
If you want access to the system through UART debug, the user name and password are “ubuntu”.
You can find the IP of the board using ifconfig. Type the IP address in your brower. http://192.168.1.140:4200/
Snappy store!
Smart home app:
Ok, that’s Snappy ubuntu core for pcDuino3, enjoy it.
If you want to redevelop it. you’ll want to look at this.
Leave a Reply
You must be logged in to post a comment.