-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathChangelog
465 lines (364 loc) · 13 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
2011.03.11 <[email protected]>
*Note:Implement the NEW mechanism of ECC and SUPPORT 8k nand.
Update file Version after commit
For Nand & Yaffs2
linux-2.6.31.3/drivers/mtd/nand/nand_base.c
linux-2.6.31.3/include/linux/mtd/mtd.h
linux-2.6.31.3/include/linux/mtd/nand.h
linux-2.6.31.3/drivers/mtd/nand/nand_ids.c
linux-2.6.31.3/drivers/mtd/nand/Makefile
linux-2.6.31.3/drivers/mtd/nand/jz4760b_nand.c (Add)
linux-2.6.31.3/fs/yaffs2/yaffs_fs.c
linux-2.6.31.3/fs/yaffs2/yaffs_mtdif.c
linux-2.6.31.3/fs/yaffs2/yaffs_mtdif2.c
linux-2.6.31.3/drivers/mtd/mtdpart.c
For VFAT
linux-2.6.31.3/drivers/mtd/mtdblock-jz.c
For Yaffs2 tool
linux-2.6.31.3/fs/yaffs2/utils/Makefile
linux-2.6.31.3/fs/yaffs2/utils/mkyaffs2image4760x.c (Add)
*Note:Implement the NEW mechanism of ECC and SUPPORT 8k nand.
2009.04.22
* Which mode a partition works with, cpu mode or dma mode, could be determined by the
value of cpu_mode in partition_info[] in drivers/mtd/nand/jz47xx_nand.c
Update Files:
include/linux/mtd/partitions.h
include/mtd/mtd-abi.h
include/asm-mips/mach-jz4750/ops.h
drivers/mtd/nand/jz4750_nand.c
drivers/mtd/nand/nand_base.c
drivers/mtd/mtdpart.c
drivers/mtd/mtdcore.c
* Vmalloc instead of kmalloc a block cache for mtdblock-jz when the partition works
in cpu mode.
Update Files:
drivers/mtd/mtdblock-jz.c
2009.04.17
* Allocate a block cache for every partitions which works over mtdblock-jz early
in nand_base.c if CONFIG_ALLOCATE_MTDBLOCK_JZ_ERALY defined.
Update Files:
drivers/mtd/nand/nand_base.c
drivers/mtd/mtdblock-jz.c
drivers/mtd/nand/jz4740_nand.c
drivers/mtd/nand/jz4750_nand.c
* The eccpos in nand_oob_64 was changed to 24 when using 4-bit BCH to conform with
the eccpos of nand_oob_128 when using 8-bit BCH.
Update Files:
drivers/mtd/nand/nand_base.c
* set CONFIG_PREEMPT_NONE=y to make the speed of UDC using NAND highly. And set
CONFIG_MTD_HW_BCH_8BIT=y for 4KB pagesize NAND.
Update Files:
arch/mips/configs/apus_defconfig
2009.04.11
* Whether a partition works over mtdblock-jz or not could be determined by the
value of mtdblock_jz_invalid in partition_info[] in drivers/mtd/nand/jz47xx_nand.c
Update Files:
drivers/mtd/nand/jz4740_nand.c
drivers/mtd/nand/jz4750_nand.c
include/linux/mtd/partitions.h
include/mtd/mtd-abi.h
drivers/mtd/mtdpart.c
drivers/mtd/mtdblock-jz.c
2009.03.30
* Set ECCPOS of 4K page nand to 28. (For 4750, only set 4bit BCH ECCPOS to 28)
Modify nand partitions of PAVO & APUS.
Update Files:
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/jz4740_nand.c
drivers/mtd/nand/jz4750_nand.c
2009.02.17
* Modify oss driver to support jz4750 i2s codec.
Update Files:
sound/oss/Kconfig
sound/oss/Makefile
sound/oss/jz_i2s.c
Add Files:
sound/oss/jzdlv.h
sound/oss/jzdlv.c
2008.12.08
* Power management is supported for jz4750.
Update Files:
arch/mips/jz4750/pm.c
drivers/char/jzchar/poweroff.c
2008.12.04
* Whether NAND multiple planes operation for one partition is used or not could be
determined by the value of use_planes in partition_info[] in drivers/mtd/nand/jz47xx_nand.c
Updated files:
include/linux/mtd/partitions.h
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/jz4740_nand.c
drivers/mtd/mtdpart.c
* Supported 4KB page size nand with 2 planes
Update Files:
include/linux/mtd/nand.h
drivers/mtd/nand/nand_base.c
fs/yaffs2/utils/mkyaffs2image.c
drivers/mtd/mtd-utils/nandwrite_mlc.c
2008.11.07
* The ubi was modified to support MTD of 64bit.
Updated file:
drivers/mtd/ubi/io.c
* The ubi and ubifs were modified by changing vmalloc and vfree to kmalloc and kfree
to provide DMA buffer for NAND driver. But the NAND driver will use DMA buffer in
itself instead of in ubi and ubifs when CONFIG_MTD_NAND_DMABUF is defined.
Updated files:
drivers/mtd/ubi/build.c
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/gluebi.c
drivers/mtd/ubi/misc.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/ubiblk.c
drivers/mtd/ubi/upd.c
drivers/mtd/ubi/vtbl.c
fs/ubifs/build.c
fs/ubifs/log.c
fs/ubifs/lpt.c
fs/ubifs/lpt_commit.c
fs/ubifs/orphan.c
fs/ubifs/recovery.c
fs/ubifs/replay.c
fs/ubifs/super.c
2008.10.31
* Converted MTD from 32bit to 64bit to support the NAND larger than 4GB, and yaffs2 was
modified accordingly. <[email protected]>
Updated file:
include/mtd/mtd-abi.h
include/linux/mtd/mtd.h
include/linux/mtd/partitions.h
include/linux/mtd/nand.h
drivers/mtd/mtdcore.c
drivers/mtd/mtdchar.c
drivers/mtd/mtdpart.c
drivers/mtd/mtdblock-jz.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_bbt.c
drivers/mtd/mtd-utils/include/mtd/mtd-abi.h
drivers/mtd/mtd-utils/flash_eraseall.c
drivers/mtd/mtd-utils/nandwrite_mlc.c
drivers/mtd/mtd-utils/nandwrite.c
fs/yaffs2/yaffs_fs.c
fs/yaffs2/yaffs_mtdif.c
fs/yaffs2/yaffs_mtdif2.c
2008.10.29
* Modified yaffs2 utils mkyaffs2image to support writting 4KB pagesize NAND. NAND layout
is (0 - raw(512B pagesize), 1 - nand_oob_64(2KB pagesize), 2 - nand_oob_128(4KB pagesize)).
Updated file:
fs/yaffs2/utils/mkyaffs2image.c
2008.10.27
* Supported multiply chip selecting for NAND flash. <[email protected]>
Updated files:
include/linux/mtd/nand.h
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/jz4750_nand.c
drivers/mtd/nand/jz4740_nand.c
2008.10.23
* Modified yaffs2 utils mkyaffs2image to enable writing soft reed-solomn ECC for
yaffs2 file system information in oob area of MLC nand, getting CONFIG_YAFFS_ECC_RS
from .config, so when CONFIG_YAFFS_ECC_RS is changed, mkyaffs2image should be built
again. <[email protected]>
Updated files:
fs/yaffs2/yaffs_ecc.c
fs/yaffs2/utils/Makefile
Added files:
fs/yaffs2/utils/ssfdc_rs_ecc.c
fs/yaffs2/utils/ssfdc_rs_ecc.h
2008.09.26
* Fixed a fatal bug for mplayer, which may cause some files cannot be played and
the system is crashed. <[email protected]>
Updated file: arch/mips/jz4740/proc.c
2008.08.30
* For jz4750, DMA clock for each channel should be enabled before using the channel.
So REG_DMAC_DMACKE and __dmac_channel_enable_clk(n) were added.
Updated files:
include/asm-mips/mach-jz4750/regs.h
include/asm-mips/mach-jz4750/ops.h
Regen, <[email protected]>
2008.08.19
* Modify jzfb_mmap() for cacheable framebuffer access. <[email protected]>
Updated files:
drivers/video/jzlcd.c
drivers/video/jz4740_slcd.c
drivers/video/jz4750_lcd.c
2008.08.15
* Modify ipu interface to toggle PID of MPlayer in TLB.
* Modify OSS ioctl function to play movie with mono channel better.
Update Files:
arch/mips/jz4740/proc.c
sound/oss/jz_i2s.c
Richard Feng, <[email protected]>
2008.08.04
* Check whether the free block is erased before erasing it, 'unsigned int' instead of
'unsigned short' was used to store block number, and heap sort for lifetime after
erasing a block was replaced by another faster method.
Update File:
drivers/mtd/mtdblock-jz.uu
* Cache read was used in nand_read_page_hwecc_rs() for Jz4740.
Update File:
drivers/mtd/nand/nand_base.c
* Faster timing in REG_EMC_SMCR1 whose value is 0x09221200 was used.
Update File:
drivers/mtd/nand/jz4740_nand.c
Regen, <[email protected]>
2008.07.21
* Supported 4KB page size nand
Update File:
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h
include/mtd/mtd-abi.h
drivers/mtd/mtd-utils/include/mtd/mtd-abi.h
Regen, <[email protected]>
2008.07.18
* Soft reed solomon ECC was supported for yaffs2 information which is 16 bytes in nand
oob, and it should be used for MLC nand.
Update File:
fs/yaffs2/yaffs_ecc.c
fs/yaffs2/yaffs_ecc.h
fs/yaffs2/yaffs_fs.c
fs/yaffs2/yaffs_packedtags2.c
Regen, <[email protected]>
2008.07.10
* Added support to generate any frequency baud rate of uart for both Jz4740 and Jz4750.
Update File:
drivers/serial/8250.c
Regen, <[email protected]>
2008.07.03
* Modified Jz4750's INTC, CIM, TSSI, macros.
Update Files:
include/asm-mips/mach-jz4750/regs.h
include/asm-mips/mach-jz4750/ops.h
2008.06.24
* Combined Jz4750 SLCD Controller support into drivers/video/jz4750_lcd.c.
* drivers/video/jz4750_lcd.c, now support: LCD Controller, Slcd Controller, TVE.
* And add smart lcd panel TRULY_TFT_GG1P0319LTSW_W support.
Update Files:
drivers/video/Kconfig
drivers/video/jz4750_lcd.h
drivers/video/jz4750_lcd.c
Wolfgang Wang, <[email protected]>
2008.06.20
* Add Jz4750 LCDC and TVE driver. <[email protected]>
Update Files:
arch/asm-mips/mach-jz4750/regs.h
arch/asm-mips/mach-jz4750/ops.h
drivers/video/Kconfig
drivers/video/Makefile
Add Files:
drivers/video/jz4750_lcd.h
drivers/video/jz4750_lcd.c
drivers/video/jz4750_tve.h
drivers/video/jz4750_tve.c
2008.06.12
* Modified CONFIG_FB_JZXXX macros, rename drivers/video/jzslcd.x to drivers/video/jz4740_slcd.x
Update Files:
drivers/video/Kconfig
drivers/video/Makefile
arch/mips/configs/dipper_defconfig
arch/mips/configs/leo_defconfig
arch/mips/configs/lyra_defconfig
arch/mips/configs/pavo_defconfig
arch/mips/configs/virgo_defconfig
2008.06.10
* Add jz_clocksource, upgrade the system time's accuracy from 10ms to about 1(or 2) us.
but the system timer remained 10ms.
Files modified:
arch/mips/jz4730/time.c
arch/mips/jz4740/time.c
arch/mips/jz4750/time.c
2008.05.31
* Updated UBIFS. <[email protected]>
2008.05.30
* Added JZ4720 virgo board support. <[email protected]>
2008.05.29
* Added definition of CONFIG_SOC_JZ4725 and CONFIG_SOC_JZ4720. <[email protected]>
* Added selection of 4-bit/1-bit data bus for MMC/SD card driver. <[email protected]>
* Added dipper_defconfig for JZ4725 DIPPER board. <[email protected]>
2008.05.29:
* Modified sound/oss/jz_i2s.c to increase the sound buffer.
* Modified pavo_defconfig to select the oss sound driver by default.
* Fixed jzlcd.h for jz4730 pmp.
* Modified jzcs8900a.c to not test the chip ID.
2008.05.22:
* jzcs8900a.c: fixed the bug of "No network devices available". <[email protected]>
2008.05.13:
* Rewrote all of the UBI and UBIFS codes. <[email protected]>
2008.05.07:
* Add GPIO group E group F irq, DMAC1 irq. Add SSI1 macros.
2008.05.06:
* Modified MMC/SD driver jz_mmc.c to support PM callback. <[email protected]>
2008.05.04:
* Fixed a bug of mtdblock-jz.uu of using the badblock_table. <[email protected]>
2008.04.26:
* Patch jz4740_nand.c to optimize the RS correction algorithm. <zengzhaoxiu>
2008.04.24
* Jzlcd driver add Framebuffer Rotate support.
Update files:
drivers/video/Kconfig
drivers/video/jzlcd.h
drivers/video/jzlcd.c
2008.04.21:
* Modified LCD_CFG_MODE_INTER_CCIR656 define
#define LCD_CFG_MODE_INTER_CCIR656 (5 << LCD_CFG_MODE_BIT)
should be ==>>
#define LCD_CFG_MODE_INTER_CCIR656 (6 << LCD_CFG_MODE_BIT)
Update files:
include/asm-mips/mach-jz4730/regs.h
include/asm-mips/mach-jz4740/regs.h
include/asm-mips/mach-jz4750/regs.h
2008.04.14:
* Modify drivers/video/jzslcd.c to suport Smart LCD switches between
always refresh and event-driven refresh . <[email protected]>
2008.04.01:
* Support multi-framebuffers, update files:
drivers/video/Kconfig, add: CONFIG_JZLCD_FRAMEBUFFER_MAX=1
drivers/video/jzlcd.h
drivers/video/jzlcd.c
arch/mips/configs/pavo_defconfig, add: CONFIG_JZLCD_FRAMEBUFFER_MAX=1
2008.03.29:
* Modified sound/soc/jz4740/jz4740-i2s.c to support 32KHz PCM sample. <[email protected]>
2008.03.28
* Ported new mtd-utils and mkfs.ubifs. <[email protected]>
2008.03.27
* board_fuwa.h, change GPIO_DISP_OFF_N to GPD25. <[email protected]>
* Added lyra_defconfig for JZ4740 LYRA (MP4) board. <[email protected]>
2008.03.24:
* Added jzslcd.c for Smart LCD framebuffer driver. <[email protected]>
* Modified rtc_jz.c to use some functions in rtc library instead of our function.
* Added jz_keypad.c and gpio_keys.c for scan keypad drivers. <[email protected]>
2008.03.19:
* Added block-jz.c to support block device layer on top of ubi.
2008.03.17:
* Modified jz4740_udc.c to enable the suspend irq when host unloads us.
* pavo_defconfig: select CONFIG_WIRELESS_EXT, CONFIG_PNP and CONFIG_SERIAL_8250_PNP.
2008.03.14:
* Modified jz_ts.c jz_ts.h and sadc.c to release CPU by interrupt mode instead of pio mode.
2008.03.13:
* Fixed a bug in jz4740_udc.c and jz4730_udc.c during rmmod the driver.
2008.03.10:
* Modified jz_i2s.c to fix the jz_audio_release(). <[email protected]>
2008.03.08:
* Fixed udc_hotplug.c to avoid the "unexpected IRQ". <[email protected]>
* Fixed jz4740/cpufreq.c of calculating the new_mclk. <[email protected]>
2008.03.05:
* Modified drivers/video/console/fbcon.c by adding fb_flashcursor selection.
2008.03.04:
* Initial release.