Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A64 => Topic started by: telestarx on October 25, 2021, 10:59:53 am

Title: u-boot configuration
Post by: telestarx on October 25, 2021, 10:59:53 am
I've download u-boot source from https://github.com/OLIMEX/u-boot-olinuxino
and make config make

make CROSS_COMPILE=aarch64-linux-gnu- BL31=../atf/bin/bl31.bin a64-olinuxino_defconfig

and make menuconfig  and set
CONFIG_TARGET_A64_OLINUXINO=y 
CONFIG_LAST_STAGE_INIT=y

and build is OK.. but build version filesize(738kB) is smaller than download version(868kB)
and when I type 'saveenv' in u-boot command. error is displayed like below

Saving Environment to EXT4... File System is consistent
mmc write failed
 ** fs_devread read error - block
 ** fs_devread read error - block
Error in getting the block group descriptor table
fs_devread read outside partition 16907251040
 ** fs_devread read error - block
 ** fs_devread read error - block
error in File System init

** Unable to write "/uboot.env" from mmc0:1 **
Failed (1)

Can you send me .config file of A64 board?
eschoi@huvitz.com
Title: Re: u-boot configuration
Post by: LubOlimex on November 05, 2021, 09:17:55 am
All sources are shared at the GitHub.

Make sure to follow the description on how to build the image at the bottom of this document:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf