On Wed, Nov 04, 2015 at 07:30:45PM +0000, Dietmar Eggemann wrote:
On 04/11/15 19:12, Dietmar Eggemann wrote:
On 04/11/15 03:47, Leo Yan wrote:
On Tue, Nov 03, 2015 at 08:33:33PM +0000, Dietmar Eggemann wrote:
Hi Leo,
On 30/10/15 03:12, Leo Yan wrote:
Hi Dietmar,
On Thu, Oct 29, 2015 at 04:30:00PM +0000, Dietmar Eggemann wrote:
On 29/10/15 14:36, Dietmar Eggemann wrote: > On 21/10/15 02:56, Leo Yan wrote:
[...]
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):ca9f7ed NOTICE: BL1: Built : 11:05:40, Nov 4 2015 NOTICE: syspll frequency:1190494208Hz NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 INFO: ddr3 rank1 init pass INFO: lpddr3_freq_init, set ddrc 800mhz INFO: init ddr3 rank0 INFO: ddr3 rank1 init pass INFO: Elpida DDR NOTICE: Enter fastboot mode...
I don't see the output related to the DDR initialization, instead I see the 'INFO: rdet ds fail'.
Just to be clear, this is in 'normal' mode (pin1-pin2 set).
If I connect the Debug UART while downloading the l-loader.bin (in recovery mode (pin1-pin2 and pin3-pin4 on J15 are set)) I get:
Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):1b9a4b277314 NOTICE: BL1: Built : 09:46:37, Nov 4 2015 NOTICE: syspll frequency:1190494208Hz NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 INFO: rdet ds fail INFO: rdet ds fail
so in this case I don't see the messages indicating successful DDR initialization, like 'INFO: ddr3 rank1 init pass' and so on
Could you try another way for downloading l-loader.bin:
- Boot with recovery mode as usual (pin1-pin2 and pin3-pin4 on J15);
- UART will print below info: USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package USB:: Err!! Unknown USB setup packet! NULL package
- Wait for about 1 minutes and don't send l-loader.bin;
- UART will print below info: usb data recieving 60s time out.... Switch to UART download...
- So now you can download l-loader.bin from Debug UART:
sudo python hisi-idt.py -d /dev/ttyUSB0 --img1=l-loader_DDR_533MHz.bin
Please note, here should use ttyUSB0 which is the Debug UART's device node but not ttyUSB2 for USB OTG port.
We can use this way to get rid of the potential impaction from USB connection.
Thanks, Leo Yan