1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-23 01:51:51 +02:00
Commit Graph

691 Commits

Author SHA1 Message Date
xiangfu
907f9c1856 [flash-tool] add Makefile.am 2009-06-09 19:18:53 +00:00
xiangfu
6745786d7e add autogen.sh 2009-06-09 19:17:58 +00:00
xiangfu
83515d8092 move make device stage to project Makefile
use automake in flash-tool
2009-06-09 19:16:39 +00:00
xiangfu
e8667bec6e add requires file to README 2009-06-09 18:19:58 +00:00
xiangfu
664f9a743f add nand erase (nerase) command 2009-06-08 08:52:39 +00:00
xiangfu
b93c934c64 remove the make stage1 stage2 in project Makefile 2009-06-07 05:38:03 +00:00
lindnermarek
c1c8055845 [openwrt] add Makefile for download & patching 2009-06-05 12:38:56 +00:00
lindnermarek
17ac04f284 [inflash] switch all makefiles to CROSS_COMPILE 2009-06-05 12:33:08 +00:00
lindnermarek
75b743b89f [inflash] replace CROSS by standard CROSS_COMPILE and allow command line override 2009-06-05 12:20:29 +00:00
xiangfu
28262cce66 add stage1 stage2 makefile
correct the struct fw_args_t to fw_args in stage1
2009-06-05 12:08:13 +00:00
xiangfu
e0ae71e850 add stage1 Makefile 2009-06-05 12:05:15 +00:00
xiangfu
aa3bea3a1b add make device stage to the flash-tools makefile 2009-06-05 08:32:06 +00:00
xiangfu
3a841bc88c add jz4750 code 2009-06-05 08:30:28 +00:00
xiangfu
c7346db1b6 add device_stage1 code 2009-06-05 08:20:06 +00:00
xiangfu
7cd119baeb add fw.bin to the svn 2009-06-05 05:57:06 +00:00
xiangfu
3205485a50 delete the useless head file 2009-06-05 05:49:19 +00:00
xiangfu
6889fc0b3d add openwrt r15323 patch 2009-06-02 04:39:05 +00:00
Paul Fertser
fd3fac5a54 GTA02: set battery full charging current threshold to 2/32*Ichg
In most conditions the charger is unable to detect battery full status
because gsm modem continiously draws current directly from the battery.
This makes it less sensitive and therefore will cutoff charging properly.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-06-01 21:33:34 -03:00
xiangfu
7f0f907bac change the fread fseek ... to read. seek 2009-05-31 03:32:19 +00:00
Paul Fertser
141b2bedfc Use different MACs for the host and for the device ends of usb link
This makes Qi consistent with current SHR boot script. It assigns
the MAC specified on the identity partition to the device and the
next address to the host, ie: from "g_ether.dev_addr=00:1F:11:01:58:67"
generate "g_ether.host_addr=00:1F:11:01:58:68".

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-05-28 20:06:51 -03:00
Paul Fertser
8089e8de8b Added SDHC support
Implemented and tested on Josch's GTA01Bv4

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-05-26 22:11:17 -03:00
xiangfu
4c57b734eb change some output info 2009-05-26 17:22:44 +00:00
xiangfu
bb5f4be354 change the hand point 2009-05-26 17:14:40 +00:00
xiangfu
b47ed72723 change the file_buf use the code_buf not malloc 2009-05-26 17:05:54 +00:00
xiangfu
132b7afd9c change the sturct name 2009-05-20 08:13:10 +00:00
xiangfu
e7a23fd7b6 delete repeat code 2009-05-16 02:57:10 +00:00
xiangfu
470a2548f7 add device_stage1 folder 2009-05-15 05:00:58 +00:00
xiangfu
3977cdb120 add usb boot stage2 for device 2009-05-15 05:00:06 +00:00
xiangfu
6a07660a37 fix typo 2009-05-14 17:34:03 +00:00
xiangfu
63cbdd19c8 add a reflash shell 2009-05-14 17:12:48 +00:00
xiangfu
b5a4d70021 now the reflash function is work :-) 2009-05-14 17:11:03 +00:00
xiangfu
fe484a65ee change usb_read_data_from_ingenic functio to take three argument 2009-05-14 09:15:11 +00:00
xiangfu
d66be487ab add error_check function.
add usb_ingenic_configration
2009-05-12 14:41:52 +00:00
xiangfu
72dd61a7c7 modify the read data function and send length function 2009-05-08 16:14:14 +00:00
Dmitry Kurochkin
0ca1d89412 Bad magic when booting from NAND
Qi fails to boot from NAND. Qi booting from SD goes fine. Booting NAND
from NOR works as well.

I have found the problem. The error was because we check if the
current block is bad or the next one is bad. And skip the current
block even if only the next one is bad. This way we skip good block
before a bad one.

This patch fixes the bug.

Signed-off-by: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
2009-05-07 00:27:20 -05:00
xiangfu
7085493d7c remove command_input function.
change nand_program_check not return page num.
2009-05-07 03:07:52 +00:00
xiangfu
ee5af659bf add some comment 2009-05-04 16:08:03 +00:00
xiangfu
37327ca07f add "-c" option to direct run command. 2009-05-04 15:57:06 +00:00
xiangfu
f7998e35b8 add nand_read function 2009-05-04 14:36:51 +00:00
xiangfu
7513e53951 add nand_program_check function 2009-05-03 15:33:56 +00:00
xiangfu
fac0cd77ea add nand_ops function 2009-05-03 15:06:23 +00:00
xiangfu
acc365174f add usb_send_data_address_to_ingenic,
usb_send_data_to_ingenic function.
2009-05-01 16:14:55 +00:00
xiangfu
b22c1f680e make the -v -h work with normal user 2009-04-30 17:31:02 +00:00
xiangfu
a834e80362 -put all the configure file operation to ingenic.c
-change usb.c to ingenic_usb.c
-finish part of nprog command
-try to init the ingenic usb in main.c
-try to make code more clear.
2009-04-30 17:26:14 +00:00
xiangfu
dd263b67b9 add init hand function
add check nand configure
2009-04-30 07:18:44 +00:00
xiangfu
392d2bb3fc add read nand configure 2009-04-30 07:06:33 +00:00
xiangfu
6082b4557d now the nprog function can read the argument 2009-04-30 06:41:49 +00:00
xiangfu
5db3e003da mv the COMMAND define to command_line.c 2009-04-30 06:12:38 +00:00
xiangfu
346f1528d6 change the fw_args_t , don't use typedef 2009-04-29 13:26:28 +00:00
xiangfu
60daa40873 add some define 2009-04-29 11:20:02 +00:00