Installing latest version of crust - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127) +--- Thread: Installing latest version of crust (/showthread.php?tid=10405) |
Installing latest version of crust - davegermiquet - 06-24-2020 I installed the latest version of crust , by doing the following on my Mac: This was using the Mobian stable and Mobian Nightly build: used a docker Debian image, latest make sure git/build-essential/cross compiler is installed Downloaded the following and placed in /opt folder https://musl.cc/or1k-linux-musl-cross.tgz git clone https://github.com/crust-firmware/meta.git edit the Makefile update cross compiler folders update board to say pine phone make (makes images) grabbed the following afterwards: u-boot-sunxi-with-spl.bin copied this file to Mac book host file booted up with jump drive on my sdcard now I can see all drives unmount all drives bash-3.2# gpt -r show disk3 start size index contents 0 1 MBR 1 1952 1953 248048 1 MBR part 131 250001 7171874 2 MBR part 131 MBR part 131 7421875 23363661 See (1 1952) is not assigned, but 1 and 2 are so I zeroed out 1 - 1952 just in case left overs (This is where uboot resides be careful your deleting boot now) bash-3.2# dd if=/dev/zero of=/dev/disk3 bs=512 seek=1 cou sync && sync && syncnt=1952 then I did the following: bash-3.2# dd if=u-boot-sunxi-with-spl.bin of=/dev/disk3 bs=1024 seek=8 the above can be found at SUNXI sites= sync && sync && sync 1024 seek=8 Try at your own risk but it worked for me Output on UART: DRAM: 2048 MiB Trying to boot from MMC2 NOTICE: BL31: v2.3(release):v1.4-5069-ga4b8b9dba NOTICE: BL31: Built : 1592882082 NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) NOTICE: BL31: Found U-Boot DTB at 0x40647b8, model: Pine64 PinePhone (1.2) NOTICE: PSCI: System suspend is available via SCPI U-Boot 2020.07-rc4-18358-g139397e64e (Jun 23 2020 - 03:14:42 +0000) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: Pine64 PinePhone (1.2) DRAM: 2 GiB MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from FAT... Unable to use mmc 1:2... In: serial@1c28000 Out: serial@1c28000 Err: serial@1c28000 starting USB... No working controllers found Hit any key to stop autoboot: 0 |