On Wed, Jan 22, 2014 at 12:27:14PM -0800, [email protected] wrote:
> > > Do not send emails to people directly, especially when they are general 
> > > sunxi questions. Use the mailing list.
> > 
> > > "it did not boot" could be a great many things. Attach serial and find 
> > > out.
> > 
> > > The image attached shows only a tiny part of the board. So it usually 
> > > would not be very useful to begin with.
> >
> > > But... Even with this small part of the board visible, it is clear that 
> > > this is a completely different board from the k70hc. Please work through 
> > > the http://linux-sunxi.org/New_Device_howto meticulously before you do 
> > > anything else.

Wtf happened here?

> Thanks Luc, Following are the detailed steps i followed to create the SD card:
> 
> 1. connected a serial console and booted to a working android then ran the 
> a10-meminfo
>     root@android:/ # a10-meminfo-static                                       
>     
>     dram_clk          = 408
>     dram_type         = 3
>     dram_rank_num     = 1
>     dram_chip_density = 4096
>     dram_io_width     = 16
>     dram_bus_width    = 32
>     dram_cas          = 9
>     dram_zq           = 0x7f
>     dram_odt_en       = 0
>     dram_tpr0         = 0x42d899b7
>     dram_tpr1         = 0xa090
>     dram_tpr2         = 0x22a00
>     dram_tpr3         = 0x0
>     dram_emr1         = 0x4
>     dram_emr2         = 0x10
>     dram_emr3         = 0x0
>     root@android:/ #
> 2. copy and pull script.bin from nanda partition
>  
> 3. git clone -b sunxi https://github.com/linux-sunxi/u-boot-sunxi.git
>     
> 4. followed the steps in 
> http://linux-sunxi.org/U-Boot#Adding_a_new_device_to_U-Boot  and added :
> 
> [ +obj-$(CONFIG_INET_K70HC)    += dram_inet_k70e.o ] to board/sunxi/Makefile. 
> [ +Active  arm armv7 sunxi     -  sunxi   INet_K70E   sun7i:INET_K70E,SPL ] 
> to boards.cfg.
> And finally created new file: board/sunxi/dram_inet_k70e.c based on 
> board/sunxi/dram_inet_k70hc.c based on the Luc Verhaegen 's 
> board/sunxi/dram_inet_k70hc.c, then update the values according to 
> a10-meminfo output
>     
> 5. compiled u-boot and got u-boot-sunxi-with-spl.bin :
> ~/sunxi/u-boot-sunxi> make -j4 INet_K70HC 
> CROSS_COMPILE=/home/fachkar/lichee_a20/out/android/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-
>     
> 6. created two partitions on the sd card:  +16M partition and the partition 
> is the remaining of 8 GB
>     
> 7. copied script.bin and the extracted uImage to first partition of +16M on 
> the SD card
>     
> 8. Also on the +16MB partition created boot.cmd and boot.src as per 
> http://linux-sunxi.org/Manual_build_howto . which contains:
>     
> setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10 
> ${extra}
> fatload mmc 0 0x43000000 script.bin || ext2load mmc 0 0x43000000 script.bin
> fatload mmc 0 0x48000000 uImage || ext2load mmc 0 0x48000000 boot/uImage
> bootm 0x48000000
>     
> 9. umount both partitions of the sd card and fused u-boot-sunxi-with-spl.bin:
> 
> sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdf bs=1024 seek=8
> 
> when trying to boot from sd card, LCD back light does not turn on, and 
> nothing shows on console, any advise?
> appreciated again
> 
> ferar

There are many places above where i seriously frown, and i could pick it 
apart and find a few faults or two.

But what really bothers me is that you haven't even started creating a 
wiki page for the inet_k70e. You are _not_ meticulously working through
http://linux-sunxi.org/New_Device_howto and therefor whatever you are 
writing above is pretty pointless.

Luc Verhaegen.

-- 
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/groups/opt_out.

Reply via email to