четверг, 26 марта 2015 г., 11:01:55 UTC+3 пользователь Siarhei Siamashka
написал:
>
>
> This repository is now obsolete. It is better to use the mainline
> U-Boot. Some instructions are available here:
>
> http://linux-sunxi.org/Mainline_U-boot
>
>
Denx's u-boot doesn't have apx209 driver and the dcdc3 set to 1200 mV
instead of 1300 mV ( or Denx's u-boot doesn't read dcdc3_vol value from
script.bin)
But I think the best way to use Denx's u-boot with patches because on
github we have a very bad configuration management. Using the fixed
releases from Denx with set of patches allow us to find problems very
quick. (bay the way we have to remember machine ID 'setenv machid
0x000010bb' )
> https://raw.githubusercontent.com/linux-sunxi/sunxi-boards/master/sys_config/a20/cubietruck.fex
>
>
>
This script is wrong. We have to add into this script at least following
lines for wifi ap6xxx_wl_host_wake pin:
[gpio_para]
gpio_used = 1
gpio_num = 2
gpio_pin_1 = port:PH20<1><default><default><1>
gpio_pin_2 = port:PH10<0><default><default><0>
And the main issue is a sdram density. The Cubietruck has 4 chips
H5TQ4G83AMR (512Mx8) and we have to set
dram_chip_density = 4096
dram_io_width = 8
dram_bus_width = 32
instead of:
dram_chip_density = 8192
dram_io_width = 16
dram_bus_width = 32
> When troubleshooting, please try the default 'sun7i_defconfig' first.
> And if you want to store your own config somewhere, please run
>
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- savedefconfig
>
>
I tried sun7i_defconfig without results.
Mali clock is set to 312 MHz (but 288 doesn't fix this problem)
> * Maybe try a different power supply or power cable just in case,
> these might be sometimes responsible for reliability problems too
>
>
>
I have the 5V 2000mA Adaptor created for P-SP
What do you think about __phys_to_bus() macros in the
https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/arch/arm/plat-sunxi/include/plat/memory.h
file? May be I have to rebuild kernel without cedarX support?
Do you have an image with lima-memtester which works on Cubietruck with 2GB
sdram?
Best Regards,
Andrey K.
--
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.