Jump to content

Thành Phạm

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Thành Phạm

  1. Orange Pi Zero Plus

     

    Linux orangepizeroplus 4.19.2-sunxi64 #8 SMP Sun Nov 18 23:44:37 CET 2018 aarch64 aarch64 aarch64 GNU/Linux

    BOOT=yes

    VERSION=5.67.181118

    KERNEL=4.19.2-sunxi64

    NETWORK=yes

    WIRELESS=yes

    HDMI=NA

    USB=yes

    DVFS=???yes

    ARMBIANMONITOR=http://ix.io/1u5E

     

    Other bugs:

    - USB serial doesn't work

    - Kernel boot console is missing

     

    Quote

    U-Boot 2018.05-armbian (Nov 19 2018 - 00:18:30 +0100) Allwinner Technology

    CPU:   Allwinner H5 (SUN50I)
    Model: Xunlong Orange Pi Zero Plus
    DRAM:  512 MiB
    MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
    Loading Environment from EXT4... ** File not found /boot/boot.env **

    ** Unable to read "/boot/boot.env" from mmc0:1 **
    Failed (-5)
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    230454 bytes read in 37 ms (5.9 MiB/s)
    starting USB...
    USB0:   USB EHCI 1.00
    USB1:   USB OHCI 1.0
    scanning bus 0 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    Autoboot in 1 seconds, press <Space> to stop
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    3042 bytes read in 27 ms (109.4 KiB/s)
    ## Executing script at 4fc00000
    U-boot loaded from SD
    Boot script loaded from mmc
    192 bytes read in 21 ms (8.8 KiB/s)
    28549 bytes read in 46 ms (605.5 KiB/s)
    504 bytes read in 56 ms (8.8 KiB/s)
    Applying kernel provided DT overlay sun50i-h5-usbhost2.dtbo
    504 bytes read in 57 ms (7.8 KiB/s)
    Applying kernel provided DT overlay sun50i-h5-usbhost3.dtbo
    4155 bytes read in 45 ms (89.8 KiB/s)
    Applying kernel provided DT fixup script (sun50i-h5-fixup.scr)
    ## Executing script at 44000000
    8652572 bytes read in 761 ms (10.8 MiB/s)
    14243848 bytes read in 1226 ms (11.1 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 4fe00000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    8652508 Bytes = 8.3 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 4fa00000
       Booting using the fdt blob at 0x4fa00000
       Loading Ramdisk to 497bf000, end 49fff6dc ... OK
       reserving fdt memory region: addr=4fa00000 size=6d000
       Loading Device Tree to 000000004974f000, end 00000000497befff ... OK

    Starting kernel ...


    Ubuntu 18.04.1 LTS orangepizeroplus ttyS0

    orangepizeroplus login:
     

    9

     

  2. On 14/11/2017 at 8:47 PM, Epyon said:

    Hello all

     

    I want to control some GPIO pins on my NanoPi Neo (H3) board and installed WiringNP. Executing commands results in the error

    
    piBoardRev: Unable to determine board revision from /proc/cpuinfo
    
    
    

     

    I've traced the source of the error down to this line, where WiringNP tries to open /sys/class/sunxi_info/sys_info to determine which board it is running on. This path is not present in my Armbian os. I'm using 4.11.12-sun8i #20 SMP armv7l armv7l armv7l GNU/Linux

     

    Am I missing something here? Or are there alternatives to using WiringNP?

     

    You can work around by creating file /etc/sys_info and edit path boardtype_friendlyelec.c:141

    sunxi_platform    : Sun8iw7p1
    sunxi_secure      : normal
    sunxi_chipid      : 2c21020e786746240000540000000000
    sunxi_chiptype    : 00000042
    sunxi_batchno     : 1
    sunxi_board_id    : 1(0)

     

    Using username "root".
    Authenticating with public key "imported-openssh-key"
     _   _                   ____  _   _   _
    | \ | | __ _ _ __   ___ |  _ \(_) | \ | | ___  ___
    |  \| |/ _` | '_ \ / _ \| |_) | | |  \| |/ _ \/ _ \
    | |\  | (_| | | | | (_) |  __/| | | |\  |  __/ (_) |
    |_| \_|\__,_|_| |_|\___/|_|   |_| |_| \_|\___|\___/
    
    
    Welcome to ARMBIAN 5.37.171221 nightly Ubuntu 16.04.3 LTS 4.13.14-sunxi
    System load:   0.00 0.05 0.27   Up time:       45 min           Local users:   2
    Memory usage:  8 % of 493MB     Swap usage:    1 % of 246Mb     IP:            169.254.13.54 192.168.1.146
    CPU temp:      45°C
    Usage of /:    7% of 15G
    
    Last login: Sat Dec 23 23:32:49 2017 from 192.168.1.167
    
    [ Kernel was updated, please reboot ]
    
    root@nanopineo:~# gpio readall
     +-----+-----+----------+------+---+-NanoPi-NEO--+------+----------+-----+-----+
     | BCM | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | BCM |
     +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+
     |     |     |     3.3V |      |   |  1 || 2  |   |      | 5V       |     |     |
     |  12 |   8 |  GPIOA12 |  OFF | 0 |  3 || 4  |   |      | 5V       |     |     |
     |  11 |   9 |  GPIOA11 |  OFF | 0 |  5 || 6  |   |      | 0v       |     |     |
     | 203 |   7 |  GPIOG11 |  OFF | 0 |  7 || 8  | 0 | OFF  | GPIOG6   | 15  | 198 |
     |     |     |       0v |      |   |  9 || 10 | 0 | OFF  | GPIOG7   | 16  | 199 |
     |   0 |   0 |   GPIOA0 |  OUT | 1 | 11 || 12 | 0 | OFF  | GPIOA6   | 1   | 6   |
     |   2 |   2 |   GPIOA2 |  OUT | 1 | 13 || 14 |   |      | 0v       |     |     |
     |   3 |   3 |   GPIOA3 |  OFF | 0 | 15 || 16 | 0 | OFF  | GPIOG8   | 4   | 200 |
     |     |     |     3.3v |      |   | 17 || 18 | 0 | OFF  | GPIOG9   | 5   | 201 |
     |  64 |  12 |   GPIOC0 |  OUT | 1 | 19 || 20 |   |      | 0v       |     |     |
     |  65 |  13 |   GPIOC1 |  OFF | 0 | 21 || 22 | 0 | OFF  | GPIOA1   | 6   | 1   |
     |  66 |  14 |   GPIOC2 |  OUT | 0 | 23 || 24 | 0 | OUT  | GPIOC3   | 10  | 67  |
     +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+
     | BCM | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | BCM |
     +-----+-----+----------+------+---+-NanoPi-NEO--+------+----------+-----+-----+
    
     +-----+----NanoPi-NEO Debug UART-+----+
     | BCM | wPi |   Name   | Mode | V | Ph |
     +-----+-----+----------+------+---+----+
     |   4 |  17 |   GPIOA4 | ALT5 | 0 | 37 |
     |   5 |  18 |   GPIOA5 | ALT5 | 0 | 38 |
     +-----+-----+----------+------+---+----+

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines