Jump to content

carver

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by carver

  1. need help ))  .. resolved with  BOOTBRANCH='branch:pinebook-wip-20180909',


    i has orange pi win plus, serial date at sticker 20170509

     

    when i build with default kernel v3.10.107 - my board always boot OK

    when i build with next or dev kernel - uboot stops in 30-60%.

    always ** fs_devread read error **" in console.  https://pastebin.com/prwdGXtS

    (error - always different !!!)

    i change 3 SD card,  used 4A PSU, usb tester in USB and watt metter at input.

     

    so, i want ask.


    1) someone else had a fs_devread read error problem with next or dev kernel ? 

    perhaps just my orange isn't compatible with the new UBOOT.

     

    2) sorry for my illiteracy, can I combine the stock uboot with dev or next kernel

    apt install ./linux-image-pine64_5.59_arm64.deb at dev kernel - not work.

     

    3) how to enable DEBUG for uboot ?   i want see more debug info in console. message like 
    debug(" <" LBAFU ", %d, %d>\n", sector, byte_offset, byte_len);

    but armbian stop compile SPL

     

    I didn't find anything else, and use userpatch for add DEBUG in /include/log.h

    diff --git a/include/log.h b/include/log.h
    --- a/include/log.h
    +++ b/include/log.h
    @@ -130,7 +130,7 @@
      */
     #define debug_cond(cond, fmt, args...)			\
     	do {						\
    -		if (cond)				\
    +		if (1)				\
     			printf(pr_fmt(fmt), ##args);	\
     	} while (0)

    and get this error on dev uboot:

      CC      spl/lib/rand.o
      CC      spl/lib/strto.o
      LD      spl/lib/built-in.o
      LD      spl/u-boot-spl
    /home/peter/armbian4/cache/toolchains/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld.bfd: u-boot-spl section `.rodata' will not fit in region `.sram'
    /home/peter/armbian4/cache/toolchains/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 1192 bytes
    scripts/Makefile.spl:353: recipe for target 'spl/u-boot-spl' failed
    make[1]: *** [spl/u-boot-spl] Error 1
    Makefile:1507: recipe for target 'spl/u-boot-spl' failed
    make: *** [spl/u-boot-spl] Error 2
    [ error ] ERROR in function compile_uboot [ compilation.sh:173 ]
    [ error ] U-boot compilation failed 
    [ o.k. ] Process terminated 

     

  2. I has a similar problem.
    my Armbian_5.57_Orangepiwin_Ubuntu_xenial_default_3.10.107.img is always loaded.
    my Armbian_5.57_Orangepiwin_Ubuntu_xenial_next_4.17.14.img was loaded after the third reset.
    now I build Armbian_5.59_Orangepiwin_Ubuntu_xenial_next_4.17.17.img
    is loaded much more often 4.17.14,
    but periodically "** fs_devread read error **" (in different places) and loading stops.

    maybe this the SD card issue or in the cooper wire in power cable.
    until I can't understand, so just report too.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines