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