[熱情]

Orange Pi zero 본문

카테고리 없음

Orange Pi zero

rootkaien 2016. 12. 20. 01:19

싸길래 두개를 질러 버렸다. ;;; 



아직 만질 시간이 없기애.. 자료 정리차원에서~~ 



웹을 찾아보면 업체에서 제공하는 이미지를 사용하면 안된다고한다. 

armbian에서 다운 받은 이미지를 사용하면 부팅이 된다고한다.. ㅎㅎㅎ;;


https://www.armbian.com/orange-pi-zero/

오렌지파이 제로를 사용기가.. 있는 사이트~~ 

http://studymake.tistory.com/613

http://holololo.tistory.com/78

http://qiita.com/mabomabo4/items/e7e22fd62999bf181ab5

http://ryulib.tistory.com/451

http://linux-sunxi.org/Xunlong_Orange_Pi_Zero


Orange Pi Zero Uart


<http://linux-sunxi.org/File:OPi_Zero_UART.jpg>


USB TO Serial을 사용한다면. RX, TX, GND 순으로 연결하면된다.



이미지 다운로드 사이트..

https://www.armbian.com/orange-pi-zero/




win32 Disk Imager을 사용하면 된다.


이미지를 sdcard에 write를 한후. 부팅햇을때 파란LED가 깜빡이면.   부팅~~



초기 암호

user : root

pass : 1234


비번은 수정하라고 나온다~~



부팅 로그..




U-Boot SPL 2017.01-armbian (Jan 20 2017 - 22:59:16)
DRAM: 512 MiB
Trying to boot from MMC1

U-Boot 2017.01-armbian (Jan 20 2017 - 22:59:16 +0100) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
6944 bytes read in 166 ms (40 KiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2352 bytes read in 194 ms (11.7 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
123 bytes read in 140 ms (0 Bytes/s)
4480879 bytes read in 614 ms (7 MiB/s)
5047312 bytes read in 677 ms (7.1 MiB/s)
** File not found /boot/.next **
** File not found .next **
35384 bytes read in 533 ms (64.5 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4480815 Bytes = 4.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment

Starting kernel ...

[sun8i_fixup]: From boot, get meminfo:
        Start:  0x40000000
        Size:   512MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid  [0x2c00042!
ion_reserve_common: ion reserve: [0x57e00000, 0x60000000]!
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.113-sun8i (root@devel) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #6 SMP PREEMPT Fri Jan 20 22:09:45 CET 2017
[    0.000000] cma: dma_declare_contiguous(266): ION reserve size should be 4m align! adjust size to 128MBytes
[    0.000000] cma: CMA: reserved 128 MiB at 58000000
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0ff9000 s11968 r8192 d12608 u32768
[    0.000000] Kernel command line: root=UUID=b8f0b268-9f84-42b0-adb8-f2a7d69381c0 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7 ubootpart=bfdd295b-01 ubootsource=mmc   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16
[    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] allocated 1048576 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 370416k/370416k available, 153872k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc096c534   (9618 kB)
[    0.000000]       .init : 0xc096d000 - 0xc09c1ec0   ( 340 kB)
[    0.000000]       .data : 0xc09c2000 - 0xc0a33450   ( 454 kB)
[    0.000000]        .bss : 0xc0a33c04 - 0xc0b66f88   (1229 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.002321] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.002461] pid_max: default: 32768 minimum: 301
[    0.002827] Security Framework initialized
[    0.002914] AppArmor: AppArmor disabled by boot time parameter
[    0.003340] Mount-cache hash table entries: 512
[    0.005373] Initializing cgroup subsys cpuacct
[    0.005453] Initializing cgroup subsys memory
[    0.005586] Initializing cgroup subsys devices
[    0.005654] Initializing cgroup subsys freezer
[    0.005721] Initializing cgroup subsys blkio
[    0.005810] Initializing cgroup subsys perf_event
[    0.006016] CPU: Testing write buffer coherency: ok
[    0.006158] ftrace: allocating 26327 entries in 78 pages
[    0.070575] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.070660] [sunxi_smp_prepare_cpus] enter
[    0.070753] Setting up static identity map for 0x406a1818 - 0x406a1870
[    0.072683] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080811] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.080952] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.090353] Brought up 4 CPUs
[    0.090510] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.091957] devtmpfs: initialized
[    0.106770] wakeup src cnt is : 2.
[    0.106963] sunxi pm init
[    0.107277] pinctrl core: initialized pinctrl subsystem
[    0.117781] NET: Registered protocol family 16
[    0.123061] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.123252] script_sysfs_init success
[    0.125149] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.127583] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.127583] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.127583] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.127583] script config pll_video to 297 Mhz
[    0.127583] script config pll_de to 864 Mhz
[    0.127583] script config pll_ve to 402 Mhz
[    0.140479] bio: create slab <bio-0> at 0
[    0.140668] [ARISC] :sunxi-arisc driver v1.04
[    0.158882] [ARISC] :arisc version: [v0.1.58]
[    0.267964] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.271260] SCSI subsystem initialized
[    0.271330] usbcore: registered new interface driver usbfs
[    0.271519] usbcore: registered new interface driver hub
[    0.280093] usbcore: registered new device driver usb
[    0.280346] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.280404] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.280459] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[    0.281962] Linux video capture interface: v2.00
[    0.282483] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.284033] cfg80211: Calling CRDA to update world regulatory domain
[    0.284187] NetLabel: Initializing
[    0.284187] NetLabel:  domain hash size = 128
[    0.284187] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.284187] NetLabel:  unlabeled traffic allowed by default
[    0.284187] Switching to clocksource arch_sys_counter
[    0.309205] FS-Cache: Loaded
[    0.309816] CacheFiles: Loaded
[    0.333547] NET: Registered protocol family 2
[    0.357107] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.358251] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.358815] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    0.359425] TCP: Hash tables configured (established 16384 bind 16384)
[    0.359481] TCP: reno registered
[    0.359527] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.359610] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.360394] NET: Registered protocol family 1
[    0.361261] RPC: Registered named UNIX socket transport module.
[    0.361324] RPC: Registered udp transport module.
[    0.361368] RPC: Registered tcp transport module.
[    0.361412] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.361836] Trying to unpack rootfs image as initramfs...
[    0.936734] Freeing initrd memory: 4372K
[    0.938081] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.938377] sunxi_reg_init enter
[    0.940325] audit: initializing netlink socket (disabled)
[    0.940464] type=2000 audit(0.940:1): initialized
[    0.944358] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.945217] NFS: Registering the id_resolver key type
[    0.946020] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.946089] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.947614] NTFS driver 2.1.30 [Flags: R/W].
[    0.948300] fuse init (API version 7.18)
[    0.949793] Btrfs loaded
[    0.949867] msgmni has been set to 988
[    0.952965] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.953060] io scheduler noop registered
[    0.953102] io scheduler deadline registered
[    0.953281] io scheduler cfq registered (default)
[    0.954142] [DISP]disp_module_init
[    0.954777] cmdline,init_disp=
[    0.954872] cmdline,disp=
[    0.963667] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed!
[    0.979781] Console: switching to colour frame buffer device 90x36
[    0.998889] [DISP]disp_module_init finish
[    0.999589] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    1.000003] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.
[    1.000451] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[    1.001796] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    1.009723] sw_uart_pm()890 - uart0 clk is already enable
[    1.017614] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    1.138753] console [ttyS0] enabled
[    2.799601] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[    2.815274] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    2.840188] brd: module loaded
[    2.860289] loop: module loaded
[    2.872497] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    2.887987] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.
[    2.904445] spi spi0: master is unqueued, this is deprecated
[    2.919967] spi spi1: master is unqueued, this is deprecated
[    2.934714] tun: Universal TUN/TAP device driver, 1.6
[    2.948145] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.964690] PPP generic driver version 2.4.2
[    2.977629] PPP BSD Compression module registered
[    2.990862] PPP Deflate Compression module registered
[    3.009176] PPP MPPE Compression module registered
[    3.022202] NET: Registered protocol family 24
[    3.034765] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.069958] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.086998] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    3.104587] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    3.130067] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    3.145705] hub 1-0:1.0: USB hub found
[    3.157688] hub 1-0:1.0: 1 port detected
[    3.190607] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.207748] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[    3.225247] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[    3.260101] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[    3.276032] hub 2-0:1.0: USB hub found
[    3.288205] hub 2-0:1.0: 1 port detected
[    3.321149] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.338283] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3
[    3.356121] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000
[    3.390082] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00
[    3.391212] hub 3-0:1.0: USB hub found
[    3.391249] hub 3-0:1.0: 1 port detected
[    3.412130] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.412188] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4
[    3.463840] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
[    3.490102] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
[    3.505970] hub 4-0:1.0: USB hub found
[    3.518241] hub 4-0:1.0: 1 port detected
[    3.531344] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.566624] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.583635] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5
[    3.600752] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    3.675162] hub 5-0:1.0: USB hub found
[    3.687729] hub 5-0:1.0: 1 port detected
[    3.721056] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.738227] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6
[    3.755350] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[    3.835169] hub 6-0:1.0: USB hub found
[    3.847822] hub 6-0:1.0: 1 port detected
[    3.881197] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.898260] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7
[    3.915201] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400
[    3.995086] hub 7-0:1.0: USB hub found
[    4.007636] hub 7-0:1.0: 1 port detected
[    4.040962] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    4.058215] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8
[    4.075247] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400
[    4.155092] hub 8-0:1.0: USB hub found
[    4.167599] hub 8-0:1.0: 1 port detected
[    4.180982] Initializing USB Mass Storage driver...
[    4.195167] usbcore: registered new interface driver usb-storage
[    4.210397] USB Mass Storage support registered.
[    4.223975] usbcore: registered new interface driver ums-alauda
[    4.239097] usbcore: registered new interface driver ums-cypress
[    4.254161] usbcore: registered new interface driver ums-datafab
[    4.269134] usbcore: registered new interface driver ums_eneub6250
[    4.284262] usbcore: registered new interface driver ums-freecom
[    4.299071] usbcore: registered new interface driver ums-isd200
[    4.313482] usbcore: registered new interface driver ums-jumpshot
[    4.327917] usbcore: registered new interface driver ums-karma
[    4.341894] usbcore: registered new interface driver ums-onetouch
[    4.356141] usbcore: registered new interface driver ums-realtek
[    4.370107] usbcore: registered new interface driver ums-sddr09
[    4.383896] usbcore: registered new interface driver ums-sddr55
[    4.397452] usbcore: registered new interface driver ums-usbat
[    4.412283] mousedev: PS/2 mouse device common for all mice
[    4.425597] sunxikbd_init failed.
[    4.435888] ls_fetch_sysconfig_para: ls_unused.
[    4.448149] [RTC] WARNING: Rtc time will be wrong!!
[    4.460209] [RTC] WARNING: use *internal OSC* as clock source
[    4.473638] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    4.487712] i2c /dev entries driver
[    4.499758] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18)
[    4.522701] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19)
[    4.546078] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a)
[    4.570084] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29)
[    4.594800] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a)
[    4.620064] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b)
[    4.646020] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c)
[    4.672772] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d)
[    4.700040] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e)
[    4.728416] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18)
[    4.758057] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19)
[    4.788945] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a)
[    4.821099] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29)
[    4.854528] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a)
[    4.889295] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b)
[    4.924790] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c)
[    4.961021] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d)
[    4.997970] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e)
[    5.035060] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    5.056561] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    5.082188] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    5.117117] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    5.137100] timeout_to_interv, line 167
[    5.154877] interv_to_timeout, line 189
[    5.172384] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    5.208636] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    5.244931] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
[    5.288902] no blue_led, ignore it!
[    5.306597] no led_0, ignore it!
[    5.322923] no led_1, ignore it!
[    5.338867] no led_2, ignore it!
[    5.353907] mmc0: new high speed SDHC card at address 0007
[    5.354882] mmcblk0: mmc0:0007 SS16G 14.4 GiB
[    5.357033]  mmcblk0: p1
[    5.358109] mmcblk mmc0:0007: Card claimed for testing.
[    5.358135] mmc0:0007: SS16G 14.4 GiB
[    5.435814] no led_3, ignore it!
[    5.450278] no led_4, ignore it!
[    5.464370] no led_5, ignore it!
[    5.478116] no led_6, ignore it!
[    5.491505] no led_7, ignore it!
[    5.506112] usbcore: registered new interface driver usbhid
[    5.521821] usbhid: USB HID core driver
[    5.543526] asoc: sndcodec <-> sunxi-codec mapping ok
[    5.560764] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    5.589583] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[    5.617426] [DAUDIO0] driver not init,just return.
[    5.638681] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    5.656521] oprofile: using arm/armv7-ca7
[    5.670137] u32 classifier
[    5.681537]     Performance counters on
[    5.694075]     input device check on
[    5.706243]     Actions configured
[    5.718373] IPv4 over IPv4 tunneling driver
[    5.732432] TCP: bic registered
[    5.743796] TCP: cubic registered
[    5.755051] TCP: westwood registered
[    5.766339] TCP: highspeed registered
[    5.777451] TCP: hybla registered
[    5.787874] TCP: htcp registered
[    5.797926] TCP: vegas registered
[    5.808002] TCP: veno registered
[    5.817946] TCP: scalable registered
[    5.828384] TCP: lp registered
[    5.838282] TCP: yeah registered
[    5.848261] TCP: illinois registered
[    5.858544] Initializing XFRM netlink socket
[    5.870131] NET: Registered protocol family 10
[    5.883756] NET: Registered protocol family 17
[    5.894986] NET: Registered protocol family 15
[    5.906086] Registering the dns_resolver key type
[    5.918715] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    5.934066] ThumbEE CPU extension supported.
[    5.945642] Registering SWP/SWPB emulation handler
[    5.959136] registered taskstats version 1
[    5.972275] cmdline,disp=
[    5.982317] [DISP] disp_init_tv,line:539:screen 0 do not support TV TYPE!
[    5.997026] [DISP] bsp_disp_tv_register,line:990:'ptv is null
[    6.010470] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr1<-->device1, type=2, mode=11
[    6.035038] ths_fetch_sysconfig_para: type err  device_used = 1.
[    6.051444] CPU Budget:corekeeper enabled
[    6.063075] CPU Budget:Register notifier
[    6.074017] CPU Budget:register Success
[    6.084684] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    6.269164] mmc1: new high speed SDIO card at address 0001
[    6.315732] ALSA device list:
[    6.326089]   #0: audiocodec
[    6.336256]   #1: sndhdmi
[    6.347790] Freeing init memory: 336K
Loading, please wait...
starting version 229
[    6.972252] vmouse_input_dev_open
[    7.100152] vmouse_input_dev_close
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 ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.27.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 46940/74880 files, 242291/299008 blocks
done.
[   15.238345] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   15.860785] systemd[1]: System time before build time, advancing clock.
[   16.370439] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   16.416072] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.1 LTS!

[   16.451452] systemd[1]: Set hostname to <orangepizero>.
[   17.095855] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   17.130902] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   17.170377] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[   17.211245] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   17.241120] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   17.281607] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[   17.330593] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[   17.370343] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   17.400679] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   17.481133] systemd[1]: Starting Restore / save the current clock...
         Starting Restore / save the current clock...
[   17.630846] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[   17.731271] systemd[1]: Starting Set console keymap...
         Starting Set console keymap...
[   17.760871] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   17.891328] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   17.931182] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   18.091363] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[   18.091496] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
         Starting Create list of required st... nodes for the current kernel...
[   18.220653] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[   18.250783] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   18.290876] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   18.331327] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   18.370420] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   18.460598] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   18.641239] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   18.680863] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   18.711295] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   18.750678] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   18.790741] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[   18.831964] [XRADIO] Driver Label:L34M.01.08.0002  Jan 20 2017 22:08:50
[   18.848929] [XRADIO] Allocated hw_priv @ d6b1f240
[   18.863527] [XRADIO_ERR] Access_file failed, path:/data/xr_wifi.conf!
[   18.880635] [SBUS] XRadio Device:sdio clk=50000000
[   18.895356] xradio wlan power on
[   18.926409] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   18.960585] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[   19.060304] [XRADIO] Detect SDIO card 1
[   19.130271] systemd[1]: Started Restore / save the current clock.
[  OK  ] Started Restore / save the current clock.
[   19.420266] [XRADIO_ERR] xradio_load_firmware: can't read config register, err=-110.
[   19.438411] [XRADIO_ERR] xradio_load_firmware failed(-110).
[   19.590328] systemd[1]: Started Set console keymap.
[  OK  ] Started Set console keymap.
[   19.756552] xradio wlan power off
[   19.780301] systemd[1]: Started Remount Root and Kernel File Systems.
[  OK  ] Started Remount Root and Kernel File Systems.
[   19.819211] [XRADIO] Remove SDIO card 1
[   19.819497] mmc1: card 0001 removed
[   19.930572] g_serial gadget: Gadget Serial v2.4
[   19.944566] g_serial gadget: g_serial ready
[   19.967328] [XRADIO_ERR] xradio_host_dbg_init failed=2599
[   19.982324] [XRADIO] Driver Label:L34M.01.08.0002  Jan 20 2017 22:08:50
[   19.998692] [XRADIO] Allocated hw_priv @ d648b240
[   20.012963] [XRADIO_ERR] Access_file failed, path:/data/xr_wifi.conf!
[   20.029550] xradio wlan power on
[   20.050411] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[   20.193935] [XRADIO] Detect SDIO card 1
[   20.231123] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[   20.263890] mmc1: new high speed SDIO card at address 0001
[   20.279653] [SBUS] XRadio Device:sdio clk=50000000
[   20.295127] [XRADIO] XRADIO_HW_REV 1.0 detected.
[   20.317887] systemd[1]: Time has been changed
[   20.448649] [XRADIO] Bootloader complete
[   20.451198] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[   20.611521] systemd[1]: Starting udev Coldplug all Devices...
[   20.615256] [XRADIO] Firmware completed.
[   20.640675] [WSM] Firmware Label:XR_C01.08.0043 Jun  6 2016 20:41:04
[   20.656827] [XRADIO] Firmware Startup Done.
         Starting udev Coldplug all Devices...
[   20.741543] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   20.800724] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[   20.960268] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[   21.010442] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[   21.028560] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[   21.320282] systemd[1]: Started Create Static Device Nodes in /dev.
[  OK  ] Started Create Static Device Nodes in /dev.
[   21.830472] systemd[1]: Started Load/Save Random Seed.
[  OK  ] Started Load/Save Random Seed.
[   22.030303] systemd[1]: Started udev Coldplug all Devices.
[  OK  ] Started udev Coldplug all Devices.
[   22.241448] systemd[1]: Starting udev Kernel Device Manager...
         Starting udev Kernel Device Manager...
[   22.280455] systemd[1]: Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems (Pre).
[   22.390639] systemd[1]: Mounting /tmp...
         Mounting /tmp...
[   22.581435] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[  OK  ] Mounted /tmp.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Found device /dev/ttyGS0.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Journal Service...
[  OK  ] Reached target Local File Systems.
         Starting Armbian enhanced Log2Ram...
         Starting Set console font and keymap...
         Starting Raise network interfaces...
[  OK  ] Started Journal Service.
[  OK  ] Started Armbian enhanced Log2Ram.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Started Set console font and keymap.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
[  OK  ] Reached target Paths.
         Starting Armbian filesystem resize service...
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Armbian filesystem resize service.
[  OK  ] Reached target Basic System.
         Starting Permit User Sessions...
         Starting Login Service...
[  OK  ] Started Armbian first run tasks.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting LSB: Starts LIRC daemon....
         Starting LSB: Armbian gathering hardware information...
         Starting System Logging Service...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Regular background program processing daemon.
         Starting Save/Restore Sound Card State...
[  OK  ] Started System Logging Service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
         Starting Network Manager Wait Online...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting LSB: set CPUFreq kernel parameters...
         Starting Set console scheme...
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started Set console scheme.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Started Hostname Service.
[  OK  ] Started OpenBSD Secure Shell server.
[   57.390366] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting WPA supplicant...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: Start NTP daemon...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.1 LTS orangepizero ttyS0

orangepizero login: [   81.930262] [STA_WRN] !!! xradio_remove_interface: vif_id=0
[   82.111035] xradio wlan power off
[   82.169705] [XRADIO] Remove SDIO card 1
[   83.323266] [XRADIO_ERR] xradio_host_dbg_init failed=2599
[   83.333219] [XRADIO] Driver Label:L34M.01.08.0002  Jan 20 2017 22:08:50
[   83.344337] [XRADIO] Allocated hw_priv @ d6b1f240
[   83.353564] xradio wlan power on
[   83.514620] [XRADIO] Detect SDIO card 1
[   83.567093] [SBUS] XRadio Device:sdio clk=50000000
[   83.576940] [XRADIO] XRADIO_HW_REV 1.0 detected.
[   83.674970] [XRADIO] Bootloader complete
[   83.759668] [XRADIO] Firmware completed.
[   83.770247] [WSM] Firmware Label:XR_C01.08.0043 Jun  6 2016 20:41:04
[   83.781445] [XRADIO] Firmware Startup Done.
[   83.990403] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0
[A
Password:


Login incorrect
orangepizero login: root
Password:
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:

Authentication token manipulation error

Ubuntu 16.04.1 LTS orangepizero ttyS0 




 Python


root@orangepizero:~# python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>


python 3.5.2버전이 설치 되어 있음




Zero 회로도

https://linux-sunxi.org/images/e/e0/Orange-Pi-Zero-Schanetics-v1_11.pdf




Comments