Jump to content

A-P

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by A-P

  1. Hi again @martinayotte

    Using your guide I could successfully program the spi flash and see /dev/mtd0.

    Today I tried to to the same with a NEXT image and I added spi-jedec-nor to overlays together with other overlays like analog-audio and param_spidev_spi_bus=1 and <other overlays> spi-spidev and also spi-add-cs1 as user-overlays for getting a hat lcd with touch screen to work. But I can not see /dev/mtd0

    Anything wrong with my setup ?

  2. Hi,

    I have recently bought a 17 inch rk3288 android tablet. It has 2gb of ram and 16gb of nand running android 5.

    The reason I bought this was to get libreelec OS and kodi run on it.

    I found a rom for ugoos 3288 running libreelec and flashed to the tablet (Link). Everything works except tablet’s screen (and probably touch screen) and wifi. But I could get display from hdmi output and see everything runs good.

    I asked the seller to send me the android’s image file and now I also have android full firmware for this tablet.

    My question is, how can I make everything work in Libreelec by using/extracting required files from android image and add them to libreelec image ?

    Please help me as this project is so important to me. I have enough experience with h3 boards but I’m completely noob in this new board :huh:

    Thanks in advance.

  3. By changing fps to a higher number frequency of hanging increases a lot. that why we set it to one and as we only use the lcd as a static notification viewer it makes no problem. But hanging and freezing is the problem. 

    I somehow think that the main problem is due to the buggy X server because even when lcd freezes if we kill X process lcd gets back to work.

    Any suggestions ?

  4. Lowering the speed to 8000000 made it better for me but it still freezes.

    Using dietpi (originally armbian but lighter) reduced the frequency for me. (but not fixed the problem)

    I saw that you've sent a bug report to notro about the problem. Please keep us updated if you received any reply.

    Regards.

  5. Hi,

    I'm using fbtft with legacy kernel in orange pi zero to be able to use 3.5 inch raspberry LCD with ILI9486 (not sure). Everything works and I can get image from the LCD (although it is terribly slow). But I have one big problem. LCD freezes after some time or when screen screen changes or even sometimes during initialization .

    Is there anything wrong with the spi driver in armbian ? How can I get over this issue ? I'm sure there is nothing wrong with the lcd because I have tested same lcd on raspberry pi and I have about 500 of these lcds for a project.

    This is the my fbtft options : modprobe fbtft_device custom name=fb_ili9486 gpios=dc:18,reset:2 busnum=1 speed=8000000 txbuflen=32768 rotate=270 fps=1

  6. hi all
    i have an orange-pi zero that boots from network. the kernel and some other files are loaded over TFTP and the root path is mounted by NFS and every thing works fine.
    also i have a 3.5 inches LCD that works with fbtft_device module.
    the problem is when the board boots over network, the LCD dose not initialize completely but when i boot the board by SD card the LCD init's 100% fine.

    there are no error in dmesg but the LCD is 1/3 black and 2/3 white.
    dmesg:
    [   51.270008] fbtft_device:  SPI devices registered:
    [   51.270303] fbtft_device:      spidev spi0.0 33000kHz 8 bits mode=0x00
    [   51.270362] fbtft_device:      spidev spi1.0 33000kHz 8 bits mode=0x00
    [   51.270413] fbtft_device:  'fb' Platform devices registered:
    [   51.271544] fbtft_device: Deleting spi1.0
    [   51.273154] fbtft_device:  GPIOS used by 'fb_ili9486':
    [   51.273204] fbtft_device:    'dc' = GPIO18
    [   51.273238] fbtft_device:    'reset' = GPIO2
    [   51.273272] fbtft_device:  SPI devices registered:
    [   51.273318] fbtft_device:      spidev spi0.0 33000kHz 8 bits mode=0x00
    [   51.273368] fbtft_device:      fb_ili9486 spi1.0 8000kHz 8 bits mode=0x00

     

  7. Hi @rlsten

    Thanks you for the files I will test and tell you the result asap.

    For rotating the screen you should add this to your armbianEnv.txt  --> extraargs="fbcon=rotate:2"

    for rotating the screen in lxde you should add --> Option "Rotate" "CCWto file /etc/X11/xorg.conf

     

    The screen is also screwed up for me. I don't know what is the problem.

  8. the script.bin file that i'm using is the same one i use on SD card after writing armbian image.
    even i disabled wifi but there was no success.

    i think more than one wifi module have error.

    disp module -> fails!

    UART module -> no regulator!

    EHCI -> cant setup!

    ALSA -> No sound card found!

    IP-Config: Failed to open eth0!

    so there is no network and there will be no NFS root!

    Screenshot from 2017-07-01 16:35:59.png

    Screenshot from 2017-07-01 16:42:38.png

  9. Dear @ldiaz, I really appericiate your help. Thanks.

    As you instructed above I change PA7 to PA10 (pin 26 is my lcd's touch CS and according to conversion chart pin26 is GPIO10 or PA10).

    At first I changed Whaterver I found as PA7 to PA10. even pendown-gpio = <&pio 0 10 0> 

    Spoiler
    
    /*
     * Generic Device Tree overlay for the ADS7846 touch controller ported from
     *   RPI overlay to sun8i-h3.
     *   Tested on Orange Pi Zero with XPT2046 with two spi slaves:
     *   This DT requires that that spi-add-cs1 overlay is loaded. it
     *
     *   Notes for customization:
     *    Fragment 0 can be commented as the alias already exists.
     *    Fragment 1: customize you pins to your desired pin out.
     *      pins= "<pin_id>" in this example is set to PA10;
     *      function = "irq" or "gpio_in";  tested with both with similar results
     *      bias-pull-up; comment if your display has no pull-up-resistor.
     *    Fragment 2:
     *       target: spi sub-tree selected, for this example &spi1
     *       spidev@0: Section for CS=0(reg=<0>) for screen. if managed using fbtft_device
     *                 driver this section can be deleted if not a /dev/spiN.0 will be created
     *
     *       ads7846:
     *          - spi-max-frequency =<Hz>
     *          - reg: <N> CS for the application
     *          - interrupts: <bank gpio type> type=2 IRQ_TYPE_EDGE_FALLING
     *          - pendown-gpio = <&pio bank gpio 0>
     *
     *        For additional parameters: see https://www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt
     *
     */
    
     /dts-v1/ /plugin/;
    
     / {
         compatible = "allwinner,sun8i-h3";
         /*
         fragment@0 {
             target-path = "/aliases";
             __overlay__ {
                 spi1 = "/soc/spi@01c69000";
             };
         };
         */
    
         fragment@1 {
             target = <&pio>;
             __overlay__ {
                 ads7846_pins: ads7846_pins {
                     pins= "PA10";   /* TIRQ of the screen is connected to PA10" */
                     function = "irq"; /* gpio_in also works */
                     bias-pull-up; /* pull up resistor present comment this line if not */
                 };
             };
         };
    
         fragment@2 {
             target = <&spi1>;
             __overlay__ {
                 #address-cells = <1>;
                 #size-cells = <0>;
                 status = "okay";
                 /* Leave the first CS as in template
                  * this section can be removed if other driver is using CS=0
    
                 spidev@0 {
                     reg = <0>; // Chip Select 0
                     compatible = "spidev";
                     spi-max-frequency = <1600000>;
                     status = "okay";
                 }; */
    
                 /* custom ads7846 definition */
                 ads7846: ads7846@1 {
                     compatible = "ti,ads7846";
                     reg = <1>; /* Chip Select 1 */
                     pinctrl-names = "default";
                     pinctrl-0 = <&ads7846_pins>;
    
                     spi-max-frequency = <1600000>;
                     interrupts = <0 10 2>;          /* <bank gpio type> bank=0 port=10 (PA10) type=2 -> high-to-low edge triggered */
                     interrupt-parent = <&pio>;
                     pendown-gpio = <&pio 0 10 0>;  /* <&pio bank gpio 0> change to bank=0 port=10 for PA10 */
    
                     /* driver defaults */
                     ti,x-min = /bits/ 16 <0>;
                     ti,y-min = /bits/ 16 <0>;
                     ti,x-max = /bits/ 16 <0x0FFF>;
                     ti,y-max = /bits/ 16 <0x0FFF>;
                     ti,pressure-min = /bits/ 16 <0>;
                     ti,pressure-max = /bits/ 16 <0xFFFF>;
                     ti,x-plate-ohms = /bits/ 16 <400>;
                 };
             };
         };
     };

     

    And it did not work.

    Also changed only the section ads7846_pins: ads7846_pins like this 

    Spoiler
    
    /*
     * Generic Device Tree overlay for the ADS7846 touch controller ported from
     *   RPI overlay to sun8i-h3.
     *   Tested on Orange Pi Zero with XPT2046 with two spi slaves:
     *   This DT requires that that spi-add-cs1 overlay is loaded. it
     *
     *   Notes for customization:
     *    Fragment 0 can be commented as the alias already exists.
     *    Fragment 1: customize you pins to your desired pin out.
     *      pins= "<pin_id>" in this example is set to PA7;
     *      function = "irq" or "gpio_in";  tested with both with similar results
     *      bias-pull-up; comment if your display has no pull-up-resistor.
     *    Fragment 2:
     *       target: spi sub-tree selected, for this example &spi1
     *       spidev@0: Section for CS=0(reg=<0>) for screen. if managed using fbtft_device
     *                 driver this section can be deleted if not a /dev/spiN.0 will be created
     *
     *       ads7846:
     *          - spi-max-frequency =<Hz>
     *          - reg: <N> CS for the application
     *          - interrupts: <bank gpio type> type=2 IRQ_TYPE_EDGE_FALLING
     *          - pendown-gpio = <&pio bank gpio 0>
     *
     *        For additional parameters: see https://www.kernel.org/doc/Documentation/devicetree/bindings/input/ads7846.txt
     *
     */
    
     /dts-v1/ /plugin/;
    
     / {
         compatible = "allwinner,sun8i-h3";
         /*
         fragment@0 {
             target-path = "/aliases";
             __overlay__ {
                 spi1 = "/soc/spi@01c69000";
             };
         };
         */
    
         fragment@1 {
             target = <&pio>;
             __overlay__ {
                 ads7846_pins: ads7846_pins {
                     pins= "PA10";   /* TIRQ of the screen is connected to PA10" */
                     function = "irq"; /* gpio_in also works */
                     bias-pull-up; /* pull up resistor present comment this line if not */
                 };
             };
         };
    
         fragment@2 {
             target = <&spi1>;
             __overlay__ {
                 #address-cells = <1>;
                 #size-cells = <0>;
                 status = "okay";
                 /* Leave the first CS as in template
                  * this section can be removed if other driver is using CS=0
    
                 spidev@0 {
                     reg = <0>; // Chip Select 0
                     compatible = "spidev";
                     spi-max-frequency = <1600000>;
                     status = "okay";
                 }; */
    
                 /* custom ads7846 definition */
                 ads7846: ads7846@1 {
                     compatible = "ti,ads7846";
                     reg = <1>; /* Chip Select 1 */
                     pinctrl-names = "default";
                     pinctrl-0 = <&ads7846_pins>;
    
                     spi-max-frequency = <1600000>;
                     interrupts = <0 7 2>;          /* <bank gpio type> bank=0 port=7 (PA7) type=2 -> high-to-low edge triggered */
                     interrupt-parent = <&pio>;
                     pendown-gpio = <&pio 0 7 0>;  /* <&pio bank gpio 0> change to bank=0 port=7 for PA7 */
    
                     /* driver defaults */
                     ti,x-min = /bits/ 16 <0>;
                     ti,y-min = /bits/ 16 <0>;
                     ti,x-max = /bits/ 16 <0x0FFF>;
                     ti,y-max = /bits/ 16 <0x0FFF>;
                     ti,pressure-min = /bits/ 16 <0>;
                     ti,pressure-max = /bits/ 16 <0xFFFF>;
                     ti,x-plate-ohms = /bits/ 16 <400>;
                 };
             };
         };
     };

     

    Again no luck.

    I also added the line  user_overlays= ads7846-touch to armbianEnv.txt and compiled the dts file. (armbian default dts compilers throws error so I downloaded and compiled a dtc.

     

    Both of them does not work. Do I have to change spi number in dts file as in orange pi spi0 is used for spi flash and spi1 is for lcd ?

     

    Best regards and thanks again.

  10. Dear @ldiaz

    The ili9487 is 3.5 inch HAT raspberry pi lcd. pinout for raspberry pi is as below :

     

    PIN NO. SYMBOL DESCRIPTION
    1, 17 3.3V Power positive (3.3V power input)
    2, 4 5V Power positive (5V power input)
    3, 5, 7, 8, 10, 12, 13, 15, 16 NC NC
    6, 9, 14, 20, 25 GND Ground
    11 TP_IRQ Touch Panel interrupt, low level while the Touch Panel detects touching
    18 LCD_RS Instruction/Data Register selection
    19 LCD_SI / TP_SI SPI data input of LCD/Touch Panel
    21 TP_SO SPI data output of Touch Panel
    22 RST Reset
    23 LCD_SCK / TP_SCK SPI clock of LCD/Touch Panel
    24 LCD_CS LCD chip selection, low active
    26 TP_CS Touch Panel chip selection, low active

     

    according to raspberry pi to orange pi transfrom pinout formula Reset pin for orange pi is GPIO2 and DC pin is GPIO18.

     

    Output of dmesg :

    Spoiler

    root@orangepizero:~# modprobe fbtft_device custom name=fb_ili9486 gpios=dc:18,reset:2 speed=16000000 busnum=1 txbuflen=32768 rotate=270
    modprobe: ERROR: could not insert 'fbtft_device': Invalid argument
    root@orangepizero:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.10.11-sun8i (root@devel) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #5 SMP Mon May 1 02:56:07 CEST 2017
    [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt:Machine model: Xunlong Orange Pi Zero
    [    0.000000] cma: Reserved 16 MiB at 0x4ec00000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] On node 0 totalpages: 65130
    [    0.000000] free_area_init_node: node 0, pgdat c0b54600, node_mem_map ce9c0000
    [    0.000000]   Normal zone: 573 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 65130 pages, LIFO batch:15
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] percpu: Embedded 14 pages/cpu @cfe07000 s26380 r8192 d22772 u57344
    [    0.000000] pcpu-alloc: s26380 r8192 d22772 u57344 alloc=14*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64557
    [    0.000000] Kernel command line: root=UUID=4f5d3473-9def-435f-8591-83a518b0cb35 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=deb8ce5e-01 ubootsource=mmc   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] allocated 264616 bytes of page_ext
    [    0.000000] Memory: 225004K/260520K available (6144K kernel code, 340K rwdata, 2356K rodata, 1024K init, 327K bss, 19132K reserved, 16384K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xd0000000 - 0xff800000   ( 760 MB)
                       lowmem  : 0xc0000000 - 0xcfe6a000   ( 254 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf800000 - 0xbfe00000   (   6 MB)
                         .text : 0xc0008000 - 0xc0700000   (7136 kB)
                         .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
                         .data : 0xc0b00000 - 0xc0b55200   ( 341 kB)
                          .bss : 0xc0b57000 - 0xc0ba8f88   ( 328 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]     Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    [    0.000011] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000027] Switching to timer-based delay loop, resolution 41ns
    [    0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000986] Console: colour dummy device 80x30
    [    0.001004] console [tty1] enabled
    [    0.001040] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    [    0.001058] pid_max: default: 32768 minimum: 301
    [    0.001377] Security Framework initialized
    [    0.001392] AppArmor: AppArmor disabled by boot time parameter
    [    0.001477] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001488] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.002762] CPU: Testing write buffer coherency: ok
    [    0.003347] CPU0: update cpu_capacity 1024
    [    0.003357] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.003821] Setting up static identity map for 0x40100000 - 0x4010004c
    [    0.005370] smp: Bringing up secondary CPUs ...
    [    0.016469] CPU1: update cpu_capacity 1024
    [    0.016479] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.027650] CPU2: update cpu_capacity 1024
    [    0.027659] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.038814] CPU3: update cpu_capacity 1024
    [    0.038824] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.038938] smp: Brought up 1 node, 4 CPUs
    [    0.038951] SMP: Total of 4 processors activated (192.00 BogoMIPS).
    [    0.038958] CPU: All CPU(s) started in HYP mode.
    [    0.038962] CPU: Virtualization extensions available.
    [    0.040409] devtmpfs: initialized
    [    0.058483] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [    0.058991] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.059017] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.060340] xor: measuring software checksum speed
    [    0.158629]    arm4regs  :   601.600 MB/sec
    [    0.258723]    8regs     :   349.200 MB/sec
    [    0.358824]    32regs    :   375.200 MB/sec
    [    0.458922]    neon      :   611.600 MB/sec
    [    0.458931] xor: using function: neon (611.600 MB/sec)
    [    0.459089] pinctrl core: initialized pinctrl subsystem
    [    0.460855] NET: Registered protocol family 16
    [    0.463160] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.487984] cpuidle: using governor ladder
    [    0.518000] cpuidle: using governor menu
    [    0.519597] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.519607] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.719664] raid6: int32x1  gen()    84 MB/s
    [    0.889683] raid6: int32x1  xor()    64 MB/s
    [    1.060241] raid6: int32x2  gen()   118 MB/s
    [    1.230048] raid6: int32x2  xor()    86 MB/s
    [    1.400464] raid6: int32x4  gen()   121 MB/s
    [    1.570521] raid6: int32x4  xor()    88 MB/s
    [    1.740726] raid6: int32x8  gen()   117 MB/s
    [    1.910933] raid6: int32x8  xor()    81 MB/s
    [    2.081062] raid6: neonx1   gen()   230 MB/s
    [    2.251385] raid6: neonx1   xor()   166 MB/s
    [    2.421459] raid6: neonx2   gen()   307 MB/s
    [    2.591742] raid6: neonx2   xor()   224 MB/s
    [    2.761936] raid6: neonx4   gen()   374 MB/s
    [    2.932112] raid6: neonx4   xor()   248 MB/s
    [    3.102420] raid6: neonx8   gen()   326 MB/s
    [    3.272555] raid6: neonx8   xor()   224 MB/s
    [    3.272562] raid6: using algorithm neonx4 gen() 374 MB/s
    [    3.272567] raid6: .... xor() 248 MB/s, rmw enabled
    [    3.272573] raid6: using intx1 recovery algorithm
    [    3.272959] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc/pinctrl@01f02c00/usb0_vbus_pin@0, deferring probe
    [    3.274358] gpio-regulator gpio-regulator: could not find pctldev for node /soc/pinctrl@01f02c00/regulator_pins@0, deferring probe
    [    3.275129] SCSI subsystem initialized
    [    3.275478] libata version 3.00 loaded.
    [    3.275924] usbcore: registered new interface driver usbfs
    [    3.276022] usbcore: registered new interface driver hub
    [    3.276155] usbcore: registered new device driver usb
    [    3.276482] media: Linux media interface: v0.10
    [    3.276557] Linux video capture interface: v2.00
    [    3.276685] pps_core: LinuxPPS API ver. 1 registered
    [    3.276693] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    3.276725] PTP clock support registered
    [    3.277363] Advanced Linux Sound Architecture Driver Initialized.
    [    3.279423] clocksource: Switched to clocksource arch_sys_counter
    [    3.279673] VFS: Disk quotas dquot_6.6.0
    [    3.279778] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    3.280930] simple-framebuffer 4fe79000.framebuffer: framebuffer at 0x4fe79000, 0x178e00 bytes, mapped to 0xd0080000
    [    3.280947] simple-framebuffer 4fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
    [    3.295086] Console: switching to colour frame buffer device 82x33
    [    3.308242] simple-framebuffer 4fe79000.framebuffer: fb0: simplefb registered!
    [    3.324538] NET: Registered protocol family 2
    [    3.325598] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    3.325656] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    3.325721] TCP: Hash tables configured (established 2048 bind 2048)
    [    3.325807] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    3.325866] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    3.326178] NET: Registered protocol family 1
    [    3.326839] RPC: Registered named UNIX socket transport module.
    [    3.326848] RPC: Registered udp transport module.
    [    3.326853] RPC: Registered tcp transport module.
    [    3.326859] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    3.327262] Trying to unpack rootfs image as initramfs...
    [    3.927829] Freeing initrd memory: 4964K
    [    3.931003] audit: initializing netlink subsys (disabled)
    [    3.931760] Initialise system trusted keyrings
    [    3.932244] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [    3.948376] zbud: loaded
    [    3.955248] NFS: Registering the id_resolver key type
    [    3.955286] Key type id_resolver registered
    [    3.955292] Key type id_legacy registered
    [    3.955312] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    3.955319] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    3.957695] JFS: nTxBlock = 1924, nTxLock = 15397
    [    3.962269] SGI XFS with ACLs, security attributes, realtime, no debug enabled
    [    3.976431] Key type asymmetric registered
    [    3.976913] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    3.977163] io scheduler noop registered
    [    3.977171] io scheduler deadline registered
    [    3.977861] io scheduler cfq registered (default)
    [    3.979827] sun4i-usb-phy 1c19400.phy: could not find pctldev for node /soc/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
    [    3.987687] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
    [    3.991084] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
    [    4.102868] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
    [    4.107795] console [ttyS0] disabled
    [    4.128061] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A
    [    4.128131] console [ttyS0] enabled
    [    4.135652] brd: module loaded
    [    4.147920] loop: module loaded
    [    4.151788] m25p80 spi0.0: mx25l1606e (2048 Kbytes)
    [    4.160105] 3 ofpart partitions found on MTD device spi0.0
    [    4.160117] Creating 3 MTD partitions on "spi0.0":
    [    4.160141] 0x000000000000-0x000000100000 : "uboot"
    [    4.162592] 0x000000100000-0x000000200000 : "env"
    [    4.164530] 0x000000200000-0x000000400000 : "data"
    [    4.164540] mtd: partition "data" is out of reach -- disabled
    [    4.167321] libphy: Fixed MDIO Bus: probed
    [    4.169969] usbcore: registered new interface driver catc
    [    4.170052] usbcore: registered new interface driver kaweth
    [    4.170060] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
    [    4.170142] usbcore: registered new interface driver pegasus
    [    4.170234] usbcore: registered new interface driver rtl8150
    [    4.170341] usbcore: registered new interface driver r8152
    [    4.170420] usbcore: registered new interface driver lan78xx
    [    4.170524] usbcore: registered new interface driver asix
    [    4.170605] usbcore: registered new interface driver ax88179_178a
    [    4.170683] usbcore: registered new interface driver cdc_ether
    [    4.170764] usbcore: registered new interface driver cdc_eem
    [    4.170855] usbcore: registered new interface driver dm9601
    [    4.170935] usbcore: registered new interface driver sr9700
    [    4.171043] usbcore: registered new interface driver CoreChips
    [    4.171155] usbcore: registered new interface driver smsc75xx
    [    4.171264] usbcore: registered new interface driver smsc95xx
    [    4.171344] usbcore: registered new interface driver gl620a
    [    4.171423] usbcore: registered new interface driver net1080
    [    4.171515] usbcore: registered new interface driver plusb
    [    4.171598] usbcore: registered new interface driver rndis_host
    [    4.171679] usbcore: registered new interface driver cdc_subset
    [    4.171761] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    [    4.171881] usbcore: registered new interface driver cdc_ncm
    [    4.171964] usbcore: registered new interface driver huawei_cdc_ncm
    [    4.172045] usbcore: registered new interface driver cdc_mbim
    [    4.172059] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.172066] ehci-platform: EHCI generic platform driver
    [    4.172558] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.172588] ohci-platform: OHCI generic platform driver
    [    4.173085] usbcore: registered new interface driver cdc_wdm
    [    4.173204] usbcore: registered new interface driver usb-storage
    [    4.174580] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
    [    4.174593] sun6i-rtc 1f00000.rtc: RTC enabled
    [    4.174694] i2c /dev entries driver
    [    4.176700] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
    [    4.179312] sunxi-mmc 1c0f000.mmc: Got CD GPIO
    [    4.249477] sunxi-mmc 1c0f000.mmc: base:0xd03e9000 irq:24
    [    4.251614] ledtrig-cpu: registered to indicate activity on CPUs
    [    4.251764] hidraw: raw HID events driver (C) Jiri Kosina
    [    4.252019] usbcore: registered new interface driver usbhid
    [    4.252025] usbhid: USB HID core driver
    [    4.252884] Initializing XFRM netlink socket
    [    4.254422] NET: Registered protocol family 10
    [    4.286139] Segment Routing with IPv6
    [    4.286286] NET: Registered protocol family 17
    [    4.286347] NET: Registered protocol family 15
    [    4.286435] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [    4.286531] 8021q: 802.1Q VLAN Support v1.8
    [    4.286605] Key type dns_resolver registered
    [    4.287346] Registering SWP/SWPB emulation handler
    [    4.288484] registered taskstats version 1
    [    4.288492] Loading compiled-in X.509 certificates
    [    4.288615] zswap: loaded using pool lzo/zbud
    [    4.291041] Btrfs loaded, crc32c=crc32c-generic
    [    4.297009] mmc0: host does not support reading read-only switch, assuming write-enable
    [    4.299089] mmc0: new high speed SDXC card at address 0007
    [    4.300579] mmcblk0: mmc0:0007 SD64G 58.2 GiB
    [    4.302588]  mmcblk0: p1
    [    4.306651] Key type encrypted registered
    [    4.318979] ehci-platform 1c1a000.usb: EHCI Host Controller
    [    4.319036] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
    [    4.319559] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
    [    4.349516] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
    [    4.349903] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    4.349917] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.349928] usb usb1: Product: EHCI Host Controller
    [    4.349939] usb usb1: Manufacturer: Linux 4.10.11-sun8i ehci_hcd
    [    4.349948] usb usb1: SerialNumber: 1c1a000.usb
    [    4.351209] hub 1-0:1.0: USB hub found
    [    4.351282] hub 1-0:1.0: 1 port detected
    [    4.352492] ehci-platform 1c1b000.usb: EHCI Host Controller
    [    4.352537] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2
    [    4.352842] ehci-platform 1c1b000.usb: irq 29, io mem 0x01c1b000
    [    4.379455] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
    [    4.379850] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    4.379865] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.379875] usb usb2: Product: EHCI Host Controller
    [    4.379886] usb usb2: Manufacturer: Linux 4.10.11-sun8i ehci_hcd
    [    4.379896] usb usb2: SerialNumber: 1c1b000.usb
    [    4.380993] hub 2-0:1.0: USB hub found
    [    4.381057] hub 2-0:1.0: 1 port detected
    [    5.449598] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
    [    5.449649] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 3
    [    5.449877] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
    [    5.523796] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
    [    5.523811] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.523822] usb usb3: Product: Generic Platform OHCI controller
    [    5.523832] usb usb3: Manufacturer: Linux 4.10.11-sun8i ohci_hcd
    [    5.523842] usb usb3: SerialNumber: 1c1a400.usb
    [    5.524963] hub 3-0:1.0: USB hub found
    [    5.525050] hub 3-0:1.0: 1 port detected
    [    5.526184] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
    [    5.526225] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
    [    5.526432] ohci-platform 1c1b400.usb: irq 30, io mem 0x01c1b400
    [    5.593770] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
    [    5.593785] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.593795] usb usb4: Product: Generic Platform OHCI controller
    [    5.593806] usb usb4: Manufacturer: Linux 4.10.11-sun8i ohci_hcd
    [    5.593816] usb usb4: SerialNumber: 1c1b400.usb
    [    5.594930] hub 4-0:1.0: USB hub found
    [    5.594995] hub 4-0:1.0: 1 port detected
    [    5.596245] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
    [    5.596842] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    5.596860] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 5
    [    5.597265] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
    [    5.597279] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.597290] usb usb5: Product: MUSB HDRC host driver
    [    5.597301] usb usb5: Manufacturer: Linux 4.10.11-sun8i musb-hcd
    [    5.597311] usb usb5: SerialNumber: musb-hdrc.1.auto
    [    5.598261] hub 5-0:1.0: USB hub found
    [    5.598338] hub 5-0:1.0: 1 port detected
    [    5.631364] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
    [    5.849454] sunxi-mmc 1c10000.mmc: base:0xd0454000 irq:25
    [    5.849912] of_cfs_init
    [    5.850069] of_cfs_init: OK
    [    5.850257] vcc3v0: disabling
    [    5.850267] vcc5v0: disabling
    [    5.850279] ALSA device list:
    [    5.850283]   No soundcards found.
    [    5.853539] Freeing unused kernel memory: 1024K
    [    5.866549] mmc1: new high speed SDIO card at address 0001
    [    5.974046] random: systemd-udevd: uninitialized urandom read (16 bytes read)
    [    5.975053] random: systemd-udevd: uninitialized urandom read (16 bytes read)
    [    5.983155] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.986174] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.986904] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.987664] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.988430] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.989146] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.990015] random: udevadm: uninitialized urandom read (16 bytes read)
    [    5.990931] random: udevadm: uninitialized urandom read (16 bytes read)
    [    7.378287] random: fast init done
    [    7.433685] random: crng init done
    [    8.006037] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
    [    8.491369] systemd[1]: System time before build time, advancing clock.
    [    8.526254] 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)
    [    8.527233] systemd[1]: Detected architecture arm.
    [    8.570578] systemd[1]: Set hostname to <orangepizero>.
    [    9.088947] systemd[1]: Reached target Encrypted Volumes.
    [    9.119743] systemd[1]: Reached target Swap.
    [    9.149635] systemd[1]: Reached target Remote File Systems (Pre).
    [    9.180011] systemd[1]: Listening on Journal Socket (/dev/log).
    [    9.210457] systemd[1]: Created slice User and Session Slice.
    [    9.239866] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    9.269980] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    9.781622] g_serial gadget: Gadget Serial v2.4
    [    9.781636] g_serial gadget: g_serial ready
    [    9.916407] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
    [   11.660670] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
    [   11.831125] thermal thermal_zone0: failed to read out thermal zone (-16)
    [   12.590497] xradio_wlan mmc1:0001:1: missed interrupt
    [   12.593934] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [   13.384648] systemd-journald[382]: Received request to flush runtime journal from PID 1
    [   13.547021] libphy: 1c30000.ethernet: probed
    [   13.650242] Generic PHY 1c30000.ethernet:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1c30000.ethernet:01, irq=-1)
    [   13.650297] sun8i-emac 1c30000.ethernet: device MAC address slot 0 02:42:eb:21:61:f1
    [   13.651564] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   15.770262] sun8i-emac 1c30000.ethernet eth0: Link is Up - 100Mbps/Half - flow control off
    [   15.770349] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   20.132398] EXT4-fs (mmcblk0p1): resizing filesystem from 370432 to 14961968 blocks
    [   30.810728] EXT4-fs (mmcblk0p1): resized to 8388608 blocks
    [   32.612990] EXT4-fs (mmcblk0p1): resized filesystem to 14961968
    [   60.734914] systemd[1]: apt-daily.timer: Adding 7h 57min 32.364837s random time.
    [   61.438377] systemd[1]: apt-daily.timer: Adding 4h 18min 58.318312s random time.
    [   61.938059] systemd[1]: apt-daily.timer: Adding 6h 53min 13.594719s random time.
    [   71.016993] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   71.018096] ieee80211 phy0: Interface ID:0 of type:2 added
    [   71.019116] ieee80211 phy0: configuring tx for vif 0
    [   71.020061] ieee80211 phy0: configuring tx for vif 0
    [   71.020813] ieee80211 phy0: configuring tx for vif 0
    [   71.021574] ieee80211 phy0: configuring tx for vif 0
    [   71.022338] ieee80211 phy0: ignore IEEE80211_CONF_CHANGE_MONITOR (1)IEEE80211_CONF_CHANGE_IDLE (1)
    [   71.022627] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   71.746974] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [  104.023397] systemd[1]: apt-daily.timer: Adding 3h 4min 13.210275s random time.
    [  105.410015] systemd[1]: apt-daily.timer: Adding 6h 10min 563.997ms random time.
    [  106.313143] Adding 131068k swap on /var/swap.  Priority:-1 extents:2 across:172028k SSFS
    [  107.899846] systemd[1]: apt-daily.timer: Adding 11h 37min 5.798282s random time.
    [  109.498336] systemd[1]: apt-daily.timer: Adding 9h 3min 3.976426s random time.
    [  110.649740] systemd[1]: apt-daily.timer: Adding 9h 31min 48.252825s random time.
    [  308.268459] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
    [  308.281149] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
    [  308.284168] m25p80 spi0.0: spi-nor spi0.0 10000kHz 8 bits mode=0x00
    [  308.284388] fbtft_device: spi_busnum_to_master(1) returned NULL
    [  308.291574] fbtft_device: failed to register SPI device
    [  418.056146] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
    [  418.058972] m25p80 spi0.0: spi-nor spi0.0 10000kHz 8 bits mode=0x00
    [  418.059177] fbtft_device: spi_busnum_to_master(1) returned NULL
    [  418.066383] fbtft_device: failed to register SPI device
    root@orangepizero:~#

     

    armbianEnv.txt  contents :

    verbosity=1
    logo=disabled
    console=both
    disp_mode=1920x1080p60
    overlay_prefix=sun8i-h3
    rootdev=UUID=4f5d3473-9def-435f-8591-83a518b0cb35
    rootfstype=ext4
    extraargs="fbcon=map:8"
    extraargs="fbcon=rotate:2"

     

    the only doubt I have is contents of /lib/modules/4.10.11-sun8i/kernel/drivers/video/fbdev/core/ which is different from 3.4.113 kernel. in mainline I only have : fb_sys_fops.ko  syscopyarea.ko  sysfillrect.ko  sysimgblt.ko.  but in 3.4.113I have a fbtft directory which has kernel files for every lcd type like :

    fb_bd663474.ko  fb_ili9325.ko  fb_ra8875.ko   fb_ssd1331.ko    fb_tinylcd.ko
    fb_hx8340bn.ko  fb_ili9340.ko  fb_s6d02a1.ko  fb_ssd1351.ko    fb_tls8204.ko
    fb_hx8347d.ko   fb_ili9341.ko  fb_s6d1121.ko  fb_st7735r.ko    fb_upd161704.ko
    fb_hx8353d.ko   fb_ili9486.ko  fb_ssd1289.ko  fbtft_device.ko  fb_watterott.ko
    fb_ili9320.ko   fb_pcd8544.ko  fb_ssd1306.ko  fbtft.ko         flexfb.ko

     

    Can you please check your /lib/modules/4.10.11-sun8i/kernel/drivers/video/fbdev/core/ directory and tell me if yours have different contents.

    Thanks.

     

  11. @ldiaz

    by adding :  overlays= <other overlays> spi-spidev and param_spidev_spi_bus=1 to armbianEnv.txt I have /dev/spi1.0 .

    but fbtft options still give me error wih busnum=1 and the screen dos not work.

    As I said before same options and the way I load fbtft_device works in legacy kernel but in mainline itdoes not work. so pin numbers and options are correct.

    Any help ?

  12. Sorry for hijacking your thread.

    This option was working ok for me for 3.5 inch raspberry lcd on legacy kernel but for mainline it doesn't work : (My /etc/modprobe.d/fbtft.conf)

    options fbtft_device custom name=fb_ili9486 gpios=dc:18,reset:2 speed=16000000 busnum=1 txbuflen=32768 rotate=270

    I also have a "fbtft.conf" file /etc/module-load.d/ which contains : fbtft_device .

    it used to work ok in legacy but in kernel I get onlt white screen and the screen does not initialize.

    modprobe fbtft_device custom name=fb_ili9486 gpios=dc:18,reset:2 speed=16000000 busnum=1 txbuflen=32768 rotate=270  gives me error : ERROR: could not insert 'fbtft_device': Invalid argument

     

    can you please help me why this is not working in mainline kernel ?

    Best regards.

  13. thanks dear zador

    after some hard work i fixed the problem and now kernel panic happens and the boor reboots.

    i also tried with mainline kernel and every thing works fine.

    for some driver problems i have to use kernel 3.4.113.

    i think there is a problem with the network interface that prevents NFS root file system to be mounted.

    Screenshot from 2017-06-25 21:37:23.png

    Screenshot from 2017-06-25 21:37:13.png

  14. It seems that there is a problem with reading kernel from the network because when I try to read same kernel from SD card it works fine but with network no.

    Can you please give me a step by step guide how to boot from network ? I've already flashed my SPI Flash with uboot.

    Regards.

  15. hi all

    i'm trying to boot my orange pi over the network.

    i have written u-boot into SPI-Flash memory.

    i modified boot.cmd script to download the kernel, init ram and script.bin from TFTP server.

    after downloading them all the kernel tries to start but it dose not proceed.

    I've attached the screenshot of the console. 

     

    My boot.cmd

    Spoiler
    
    # DO NOT EDIT THIS FILE
    #
    # Please edit /boot/armbianEnv.txt to set supported parameters
    #
    setenv serverip 172.20.20.200
    setenv load_addr "0x44000000"
    setenv overlay_error "false"
    # default values
    setenv rootdev "/dev/nfs"
    setenv verbosity "1"
    setenv console "both"
    setenv disp_mem_reserves "off"
    setenv disp_mode "1920x1080p60"
    setenv rootfstype "ext4"
    setenv docker_optimizations "on"
    setenv bootm_boot_mode sec
    # Print boot source
    itest.b *0x28 == 0x00 && echo "U-boot loaded from SD"
    itest.b *0x28 == 0x02 && echo "U-boot loaded from eMMC or secondary SD"
    itest.b *0x28 == 0x03 && echo "U-boot loaded from SPI"
    
    echo "Boot script loaded from ${devtype}"
    
    if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
    if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "${consoleargs} console=ttyS0,115200"; fi
    
    setenv bootargs "root=${rootdev} rw nfsroot=172.20.20.90:/mnt/nfsroot ${consoleargs} hdmi.audio=EDID:0 disp.screen0_output_mode=${disp_mode} panic=10 consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} ubootsource=${devtype} ${extraargs} ${extraboardargs}"
    
    if test "${disp_mem_reserves}" = "off"; then setenv bootargs "${bootargs} sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"; fi
    if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=memory swapaccount=1"; fi
    
    #load ${devtype} 0 ${ramdisk_addr_r} ${prefix}uInitrd
    #load ${devtype} 0 ${kernel_addr_r} ${prefix}zImage
    #setenv bootargs "root=${rootdev} rootwait nfsroot=172.20.20.90:/mnt/nfsroot console=ttyS0,115200 panic=10 consoleblank=0 loglevel=1"
    tftpboot ${kernel_addr_r} zImage
    tftpboot ${ramdisk_addr_r} uInitrd
    
    echo "Found legacy kernel configuration"
    #load ${devtype} 0 ${fdt_addr_r} ${prefix}script.bin
    tftpboot ${fdt_addr_r} script.bin
    
    bootz ${kernel_addr_r} ${ramdisk_addr_r}
    
    # Recompile with:
    # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

     

    Screenshot from 2017-04-26 19_46_35.png

  16. I'm currently using raspberry pi hat type lcd with the board. Does that mean spidev is already activated ? If not please tell me how to enable that.

    also flashing uboot means issue the command :

    flashcp /usr/lib/linux-u-boot-dev-orangepipc_5.27_armhf/u-boot-sunxi-with-spl.bin /dev/spidev0.0

    ?

     

    thanks.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines