Started by igorpec, June 20, 2018, 12:12:56 pm
Quote from: lambda on February 10, 2019, 12:21:45 amThe magic number error is strange. Maybe it is something simple like one u-boot supporting compression and the other not.
set -e # exit if any command failsgit clone https://salsa.debian.org/debian/atf-allwinner.git --depth=1cd atf-allwinnermake PLAT=sun50iw1p1 DEBUG=1 -j4 bl31cp build/sun50iw1p1/debug/bl31.bin ../cd ..wget https://github.com/Icenowy/u-boot/commit/960ae7.diffgit clone --single-branch --branch pinebook-wip-20181109 --depth=1 https://github.com/anarsoul/u-boot-pine64.gitcd u-boot-pine64git apply ../960ae7.diffBL31=../bl31.bin make teres_i_defconfigBL31=../bl31.bin make -j4cp u-boot-sunxi-with-spl.bin ../cd ..
QuoteI think now it is not related to the magic number... The u-boot does not even see the boot.scr, so probably things get wrong somewhere in the very beginning.
QuoteNow: how to build the mainline u-boot for teres?
$ cat /boot/boot.cmd setenv bootargs rootwait root=PARTUUID=3807bc36-02 rootfstype=f2fs debug=on console=tty0 console=ttyS0,115200n8 no_console_suspendload mmc 1 0x44000000 dtbload mmc 1 0x41000000 Imagebooti 0x41000000 - 0x44000000
Quote from: lambda on February 10, 2019, 08:52:38 pmWhat's the trick to avoid volatile devices? From to code snippet I don't understand what your solution is.
Quote from: khumarahn on February 10, 2019, 09:21:53 pmThat is `root=PARTUUID=3807bc36-02` in kernel command line, in place of `root=/dev/mmcblk1p1`. Apparently, we cannot use UUID there, but PARTUUID works OK. Perhaps, could use partition labels.
Quote from: igorpec on June 15, 2019, 12:06:05 amUpdate.Debian Buster and Ubuntu Bionic (preview) with Kernel 5.1.7https://www.armbian.com/olimex-teres-a64/#kernels-archive
Quote from: d3f on June 17, 2019, 01:49:03 pmThanks Igor,I have tried that and it looks very stable. I am having some problems with the audio but I think I can manage it. Is there any video acceleration included on the kernel configuration?
Quote from: d3f on June 17, 2019, 01:49:03 pmAlso I tried to build the image on my own but I don't see the 5.1y option on the ./compile.sh script. Regards,Lazar