Hi Hunter,

> 1> which board did you build for your tablet?

make CROSS_COMPILE=arm-linux-gnueabihf- sun4i

> 2> what modifications have you made, you said with header modifications?

In the file include/configs/sun4i.h, I modified the CONFIG_BOOTCOMMANDdefine:

#define CONFIG_BOOTCOMMAND                 \
  "setenv bootargs "                       \
    "root=/dev/nandb "                     \
    "console=ttyS0,115200 "                \
    "console=tty0 "                        \
    "rootfstype=ext4 "                     \
    "ro "                                  \
    "quiet; "                              \
  "fatload nand 0 0x43000000 script.bin; " \
  "fatload nand 0 0x48000000 uImage; "     \
  "bootm 0x48000000\0"

> 3> Anything regarding DRAM settings needed? we needed  a dram file in our
sunxi branch.

I didn't make any other modifications to u-boot. Please be aware that this
is a hobby project for me :)

> 4> where in the code does it indicate to configure where we put uImage
and script.bin?

Should be answered by 2, i.e. root directory of /dev/nandb in my case. I
think the approach of hard-coding the locations and devices into u-boot is
a bad one, but at the time I was investigating, it seemed to be the only
one that worked. Although I read there were efforts made to unify the
lichee-dev branch with its master.

Kind regards,

Timo

On Mon, Mar 3, 2014 at 6:11 AM, hunter hu <[email protected]> wrote:
>
> Hi Timo,
> I had the same issue I could not make the NAND boot work. With the
u-boot.bin from lichee-dev branch, my tablet stuck at the logo screen:
> 1> which board did you build for your tablet?
> 2> what modifications have you made, you said with header modifications?
> 3> Anything regarding DRAM settings needed? we needed  a dram file in our
sunxi branch.
> 4> where in the code does it indicate to configure where we put uImage
and script.bin?
> Great thanks in advance,
> -Hunter
>
> On Tuesday, September 24, 2013 4:34:55 PM UTC-5, [email protected]:
>>
>> Finally made it!
>>
>> While looking at the modifications I made for u-boot, I realized that
script.bin and uImage belong to the same folder, i.e. the root folder of
the bootloader partition. Moving uImage, the system now boots perfectly
fine.
>>
>> Thanks for all your input!
>>
>> Timo
>
> --
> You received this message because you are subscribed to a topic in the
Google Groups "linux-sunxi" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/linux-sunxi/omgs3skJYDI/unsubscribe.
> To unsubscribe from this group and all of its topics, send an email to
[email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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.

Reply via email to