11/29/2012

Force emergency download feature on QRD 8x25 release

This solution is only compatible with these releases:
R8625SSNSKQLYM10040400 and later

QRD implement a new feature to force phone to enter emergency download mode at boot up stage. It depends on the status of gpio40. If gpio40 is low, the phone will be force enter emergency download mode. For normal boot up, gpio40 should be default high.

This feature is default ON. Please pay attention to the gpio40 connection in your HW design to avoid boot up failure.

To disable this feature in SW, please delete related code in modem_proc\core\boot\secboot\cfg_data\7627\clock\clock.cfg.

gpio_40_to_emprg{
GPIO_IN1, 0x01000000,
READ_REGISTER, 0x01000000, /*because gpio40 default is high*/
BRANCH_ON_READ_FAIL, 2, /*so in normal boot, always sucess, if force dload mode, need pull down gpio40*/
BRANCH_ALWAYS, 2, /*normal boot will skip the fowllow line*/
WRITE_32_BIT, 0xfffef800, /*write to a invalid address will go into edload */
} /*delete this segment*/

K{
%tag description Clock: 48Mhz%
%tag BUS_SPEED 48%

%include gpio_40_to_emprg% /*delete this line*/
%include configure_48MHZ%
}

Then clean and rebuild all.

11/15/2012

Some error when build QRD8225 modem with windows

the released version is HY11-NA094-7_1.0.145451
build id is SSKOLYM_FLASH_H9DP32A4JJACGR_KEM (USE_UNIX=no)
buid entironment: Windows+cygwin
GNU make 3.81
RVCT2.2 build 593
perl 5.8.8
python 2.6.2
those entironment can build 7x30 platform
the fat.bin and udisk.bin has not been generated , the build error is following



LINKING cpfatfs.exe
gcc -mno-cygwin -o cpfatfs.exe cpfatfs.o
-----------------------------------------------------------
make[1]: Leaving directory `/e/build/W840A/_CodeBase/HY11-NA094-7_1.0.145451/modem_proc/core/storage/tools/fattool'
===============================================================
---------------------------------------------------------------
Generating fat.bin for eMMC.

SSNSKOLY
../../core/storage/tools/fattool/cpfatfs.exe ../../build/ms/bin/SSNSKOLY/fat.bin image ../../build/ms/bin/SSNSKOLY/amss
hd.mbn
Found directory: change working directory to: 1b1.
Incoming file size: 2293256
Adding file to cluster 3.
Insufficient disk space to copy data file.
make: *** [genfatfs] Error 1
rm ../../core/boot/secboot/cfg_data/boot_cfg_data.exe bin/SSNSKOLY/emmcbld/emmcbld.mbn bin/SSNSKOLY/emmcbld/emmcbldhd.mb
n ../../core/boot/secboot/qcsbl/qcsblhd.mbn


I think the fat.bin image is generated by cpfatfs.exe from amsshd.mbn and amss.mbn
there must be some problem to build modem_proc\core\storage\tools\fattool

so modify modem_proc\core\storage\tools\fattool\Makefile to set BUILD_UNIX=y, it will be OK.