On Tue, 6 Sep 2016 06:09:13 -0700 (PDT)
Ciprian Manea <[email protected]> wrote:
> So I zeroed the 2 boot partitions!
>
> Then I used mkfs.ext4 command for /dev/mmcblk1 ( eMMC is mounted like that
> )
> *root@sina33:~# mkfs.ext4 /dev/mmcblk1*
> *mke2fs 1.43.1 (08-Jun-2016)*
> *Found a dos partition table in /dev/mmcblk1*
> *Proceed anyway? (y,n) y*
> *Discarding device blocks: done *
> *Creating filesystem with 966656 4k blocks and 241920 inodes*
> *Filesystem UUID: 0781019c-2095-4f9f-ac5b-5be68d807d63*
> *Superblock backups stored on blocks: *
> * 32768, 98304, 163840, 229376, 294912, 819200, 884736*
>
> *Allocating group tables: done *
> *Writing inode tables: done *
> *Creating journal (16384 blocks): done*
> *Writing superblocks and filesystem accounting information: done*
>
> Then I dd-ed the sdcard image on the /dev/mmcblk1:
> *dd if=sdcard-sina33.img of=/dev/mmcblk1 bs=1M*
>
> But now, when I'm trying to boot from the nand, I get the following:
>
>
> * U-Boot SPL 2015.07-rc2-00119-g32c5be7 (Jun 14 2016 - 10:57:02)
> DRAM: 1024 MiB
This is already a lot better. It means that you get your bootloader
loaded instead of boot0. Now it's only a matter to make it work right.
> Card did not respond to voltage select!
> Could not determine boot source
>
> * resetting ... *
>
> And is resetting over and over again!
> The thing is that this is the u-boot built by me (which is working for
> booting from the sd-card), but why the error messages?
> What's going wrong there ?
You get the SPL part successfully loaded by the boot ROM into the SRAM.
Then the SPL tries to load the rest of the U-Boot code into the DRAM
but fails to find and read it from your storage media.
Please try the latest U-Boot from git. It is about to be released as
v2016.09 in a week and you have a good chance to make sure that it
works perfectly for you. There were recent changes, which rework the
boot source detection a bit:
http://git.denx.de/?p=u-boot.git;a=commit;h=b19236fd1c1ef289bab9e243ee5b50d658fcac3f
http://git.denx.de/?p=u-boot.git;a=commit;h=9acebe8a18788c5a0d7b154e812cf2d9dfbab68f
http://git.denx.de/?p=u-boot.git;a=commit;h=ef36d9ae1646e5aee7c1425ee507d275699a072e
There is no guarantee that it will work and I don't have the same
board as you. But if there are any problems left, they should not
be very difficult to fix.
--
Best regards,
Siarhei Siamashka
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.