rebuild U-Boot problem
Hello,i have problem with rebuilding uboot for orange pi ... i do everythink as it says in "H3_Manual_build_howto" , after i dd the uboot-bin in the SDcard and try to boot there is nothink... i tryed to connect to the debug uart and i get following massage .
"cant find part named boot
sunxi_flash - sunxi_flash sub-system
Usage:
sunxi_flash read command parmeters :
parmeters 0 : addr to load(hex only)
parmeters 1 : the name of the part to be load
: the number of bytes to be load(hex only)
if not exist, the number of bytes to be load is the size of the part indecated on partemeter 1
boota: bad boot image magic, maybe not a boot.img?
Where is the problem?
CORRECT!
:)
Now what should be in boot_normal=
What should u-boot boot and from where (filesystem,partition) it should boot
little help maybe:
http://linux-sunxi.org/U-boot
http://linux-sunxi.org/UEnv.txt
The numbers let them be as they are
OK, I think it's better you understand what you need to change right?
look, this is the default:
#define CONFIG_EXTRA_ENV_SETTINGS \
"bootdelay=3\0" \
"bootcmd=run setargs_nand boot_normal\0" \
"console=ttyS0,115200\0" \
"nand_root=/dev/nandd\0" \
"mmc_root=/dev/mmcblk0p7\0" \
"init=/init\0" \
"loglevel=8\0" \
"setargs_nand=setenv bootargs console=${console} root=${nand_root}" \
"init=${init} loglevel=${loglevel} partitions=${partitions}\0" \
"setargs_mmc=setenv bootargs console=${console} root=${mmc_root}" \
"init=${init} loglevel=${loglevel} partitions=${partitions}\0" \
"boot_normal=sunxi_flash read 40007800 boot;boota 40007800\0" \
"boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800\0" \
"boot_fastboot=fastboot\0"
What do you think it's needed to change?
look at you error messages.
You have not posted the complet error log.
repost:
cant find part named boot
sunxi_flash - sunxi_flash sub-system
Usage:
sunxi_flash read command parmeters :
parmeters 0 : addr to load(hex only)
parmeters 1 : the name of the part to be load
: the number of bytes to be load(hex only)
if not exist, the number of bytes to be load is the size of the part indecated on partemeter 1
boota: bad boot image magic, maybe not a boot.img?
hint: cant find part named boot
:)
Have you changed something in #define CONFIG_EXTRA_ENV_SETTINGS?
if yes post what you have changed.
if no ... it does not work if unchanged. :) Thank you for your replay!
it is unchanged ... what should i change there ? i think it is set to boot from NAND and not from SDMMC am i right?
do you have skype ? ah my bad from it is made to boot from flash and cannot find boot there If I am right here
"boot_normal=sunxi_flash read 40007800 boot;boota 40007800\0" \
"boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800\0" \
sunxi_flash sould be changed to mmc but the the numbers, i do not know for what are they and should they be changed so maybe it should be
"boot_normal=mmc read 40007800 uImage; boota 40007800\0" \
or
"boot_normal=mmc read 40007800 dev/sdc1/uImage; boota 40007800\0" \
Am i right? Edited by ivan_ucherdjiev at 2015-6-12 05:42
hmm or
"boot_normal=fatload mmc 0 40007800 uImage; bootm 40007800\0" \
am i right?
by the way thank you very much for your support I am new in linux but i want to learn :)