login|Register
Forum > Lubuntu
Post|
看21960|回23|Favorite
ivan_ucherdjiev 看全部
2015-6-11 07:28:44
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
[parmeters 2] : the number of bytes to be load(hex only)
if [parmeters 2] 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?


fritz 看全部
2015-6-12 05:01:00
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
fritz 看全部
2015-6-12 04:04:18
OK, I think it's better you understand what you need to change right?
look, this is the default:

code:

  1. #define CONFIG_EXTRA_ENV_SETTINGS \
  2.         "bootdelay=3\0" \
  3.         "bootcmd=run setargs_nand boot_normal\0" \
  4.         "console=ttyS0,115200\0" \
  5.         "nand_root=/dev/nandd\0" \
  6.         "mmc_root=/dev/mmcblk0p7\0" \
  7.         "init=/init\0" \
  8.         "loglevel=8\0" \
  9.         "setargs_nand=setenv bootargs console=${console} root=${nand_root}" \
  10.         "init=${init} loglevel=${loglevel} partitions=${partitions}\0" \
  11.         "setargs_mmc=setenv bootargs console=${console} root=${mmc_root}" \
  12.         "init=${init} loglevel=${loglevel} partitions=${partitions}\0" \
  13.         "boot_normal=sunxi_flash read 40007800 boot;boota 40007800\0" \
  14.         "boot_recovery=sunxi_flash read 40007800 recovery;boota 40007800\0" \
  15.         "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:

quote:

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
[parmeters 2] : the number of bytes to be load(hex only)
if [parmeters 2] 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

fritz 看全部
2015-6-11 23:13:38
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.
ivan_ucherdjiev 看全部
2015-6-12 03:25:49
Thank you for your replay!
it is unchanged ... what should i change there ?
ivan_ucherdjiev 看全部
2015-6-12 04:08:09
i think it is set to boot from NAND and not from SDMMC am i right?
do you have skype ?
1234.. 5NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC