Albin Tonnerre [Fri, 8 Jan 2010 22:42:43 +0000 (14:42 -0800)]
arm: add support for LZO-compressed kernels
- changes to ach/arch/boot/Makefile to make it easier to add new
compression types
- new piggy.lzo.S necessary for lzo compression
- changes in arch/arm/boot/compressed/misc.c to allow the use of lzo or
gzip, depending on the config
- Kconfig support
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Tested-by: Wu Zhangjin <wuzhangjin@gmail.com>
Acked-by: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Russell King <rmk@arm.linux.org.uk>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Albin Tonnerre [Fri, 8 Jan 2010 22:42:42 +0000 (14:42 -0800)]
lib: add support for LZO-compressed kernels
This patch series adds generic support for creating and extracting
LZO-compressed kernel images, as well as support for using such images on
the x86 and ARM architectures, and support for creating and using
LZO-compressed initrd and initramfs images.
Russell King said:
: Testing on a Cortex A9 model:
: - lzo decompressor is 65% of the time gzip takes to decompress a kernel
: - lzo kernel is 9% larger than a gzip kernel
:
: which I'm happy to say confirms your figures when comparing the two.
:
: However, when comparing your new gzip code to the old gzip code:
: - new is 99% of the size of the old code
: - new takes 42% of the time to decompress than the old code
:
: What this means is that for a proper comparison, the results get even better:
: - lzo is 7.5% larger than the old gzip'd kernel image
: - lzo takes 28% of the time that the old gzip code took
:
: So the expense seems definitely worth the effort. The only reason I
: can think of ever using gzip would be if you needed the additional
: compression (eg, because you have limited flash to store the image.)
:
: I would argue that the default for ARM should therefore be LZO.
This patch:
The lzo compressor is worse than gzip at compression, but faster at
extraction. Here are some figures for an ARM board I'm working on:
Uncompressed size: 3.24Mo
gzip 1.61Mo 0.72s
lzo 1.75Mo 0.48s
So for a compression ratio that is still relatively close to gzip, it's
much faster to extract, at least in that case.
This part contains:
- Makefile routine to support lzo compression
- Fixes to the existing lzo compressor so that it can be used in
compressed kernels
- wrapper around the existing lzo1x_decompress, as it only extracts one
block at a time, while we need to extract a whole file here
- config dialog for kernel compression
[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: cleanup]
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Tested-by: Wu Zhangjin <wuzhangjin@gmail.com>
Acked-by: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Russell King <rmk@arm.linux.org.uk>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
杜坤明 [Tue, 19 Jul 2011 08:02:03 +0000 (16:02 +0800)]
gpu : fix the gcdOPTIMIZE_HEAP_SAMESIZE for heap alloc.
黄涛 [Tue, 19 Jul 2011 07:24:29 +0000 (15:24 +0800)]
rk29: i2c: cpu freq notifier only for i2c0
chenli [Tue, 19 Jul 2011 01:44:37 +0000 (09:44 +0800)]
IPP fix bugs:
1.Disable pre_scaling or deinterlacing when there is no request to do
2.Store clip mode always set to 1 now
黄涛 [Mon, 18 Jul 2011 11:43:08 +0000 (19:43 +0800)]
rk29: clock: bump version
黄涛 [Mon, 18 Jul 2011 11:29:29 +0000 (19:29 +0800)]
lcd: nt35510: aclk_lcdc max 300MHz
黄涛 [Mon, 18 Jul 2011 11:28:48 +0000 (19:28 +0800)]
lcd: ls035y8dx02a: aclk_lcdc max 300MHz
黄涛 [Mon, 18 Jul 2011 11:21:12 +0000 (19:21 +0800)]
rk29: sdk: more fix for vmac and usb host 1.1 both enabled
黄涛 [Mon, 18 Jul 2011 11:18:36 +0000 (19:18 +0800)]
rk29: ddr3sdk: more fix for vmac and usb host 1.1 both enabled
黄涛 [Mon, 18 Jul 2011 11:16:33 +0000 (19:16 +0800)]
rk29: clock: fix aclk_lcdc from ddr pll
CMY [Mon, 18 Jul 2011 10:02:10 +0000 (18:02 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
CMY [Mon, 18 Jul 2011 09:59:11 +0000 (17:59 +0800)]
新的modem驱动
CMY [Mon, 18 Jul 2011 09:58:48 +0000 (17:58 +0800)]
支持更多的3g dongle
蔡枫 [Mon, 18 Jul 2011 09:19:57 +0000 (17:19 +0800)]
newton:fix touch screen compile error
lyx [Mon, 18 Jul 2011 06:45:50 +0000 (23:45 -0700)]
newton: modify irda serial device suspend&resume function
邱建斌 [Mon, 18 Jul 2011 02:40:43 +0000 (10:40 +0800)]
rk29_phone: change headset volume
黄涛 [Mon, 18 Jul 2011 01:59:10 +0000 (09:59 +0800)]
Revert "Merge branch 'hdmi' into develop"
This reverts commit
57a857b5743d0166ac639b560ae3dc483c6e72e2, reversing
changes made to
5a152bcf0214a60cb5d72cad71a9b6f9c8b4ec4f.
黄涛 [Mon, 18 Jul 2011 01:20:14 +0000 (09:20 +0800)]
Revert "update rk29_sdk_defconfig: change hdmi config"
This reverts commit
57f8574caa1c3e76b7c395ae260c18e0baf07f01.
lyx [Sun, 17 Jul 2011 09:17:50 +0000 (02:17 -0700)]
newton: add irda serial driver
root [Sun, 17 Jul 2011 13:25:01 +0000 (21:25 +0800)]
update rk29_sdk_defconfig: change hdmi config
root [Sat, 16 Jul 2011 06:07:57 +0000 (14:07 +0800)]
A22:deal with minimum and maximal value of touchscreen specially
root [Sun, 17 Jul 2011 07:39:29 +0000 (15:39 +0800)]
Merge branch 'hdmi' into develop
yzq [Sat, 16 Jul 2011 15:40:20 +0000 (08:40 -0700)]
fix hdmi bug : wake up , the hdmi screen probabilistic flash of white
蔡枫 [Sat, 16 Jul 2011 01:36:03 +0000 (09:36 +0800)]
Merge branch 'newton' into develop
蔡枫 [Sat, 16 Jul 2011 01:35:10 +0000 (09:35 +0800)]
newton:update config and board file
杨云 [Sat, 16 Jul 2011 01:08:53 +0000 (09:08 +0800)]
Revert "RK29 SDMMC Ver1.14 2011-06-26 release from XBW"
This reverts commit
543f1a582cda4d8b4945bbda8a9a876b76712ba1.
蔡枫 [Fri, 15 Jul 2011 14:13:33 +0000 (22:13 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
蔡枫 [Fri, 15 Jul 2011 14:13:00 +0000 (22:13 +0800)]
newton:add gt819 config and firmware update
xsf@rock-chips.com [Fri, 15 Jul 2011 07:51:45 +0000 (15:51 +0800)]
phonesdk and A22: increasing the speed of resume
杨云 [Fri, 15 Jul 2011 06:52:57 +0000 (14:52 +0800)]
RK29 SDMMC Ver1.14 2011-06-26 release from XBW
黄涛 [Fri, 15 Jul 2011 03:03:32 +0000 (11:03 +0800)]
rk29: fix for vmac and usb host 1.1 both enabled
陈恒明 [Thu, 14 Jul 2011 12:22:04 +0000 (20:22 +0800)]
rk29: vpu_service: fix bug when encode tash and decode task work together
黄涛 [Thu, 14 Jul 2011 08:27:24 +0000 (16:27 +0800)]
rk29: clock: make aclk_lcdc as high as possible
zhaoyifeng [Thu, 14 Jul 2011 03:30:17 +0000 (11:30 +0800)]
support make_ext4fs
hxy/ubuntu [Thu, 14 Jul 2011 02:49:16 +0000 (10:49 +0800)]
fix dma channel bug found in uart dma
phc [Thu, 14 Jul 2011 02:17:05 +0000 (10:17 +0800)]
RK29SmartPhone:Sharp LCD 02A stanby change, reset lcd when resume
黄涛 [Thu, 14 Jul 2011 02:14:17 +0000 (10:14 +0800)]
rk29: ddr3sdk: defconfig: ddr freq 456MHz
蔡枫 [Wed, 13 Jul 2011 15:31:38 +0000 (23:31 +0800)]
newton:update config file
蔡枫 [Wed, 13 Jul 2011 14:54:29 +0000 (22:54 +0800)]
newton:update config and board
蔡枫 [Wed, 13 Jul 2011 14:14:51 +0000 (22:14 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
蔡枫 [Wed, 13 Jul 2011 14:13:05 +0000 (22:13 +0800)]
newton:optimize ft5406,modify supend and resume for ft5406 and gt819
root [Wed, 13 Jul 2011 13:05:08 +0000 (21:05 +0800)]
rk29_phone:add config for wm831x charge IRQ
杜坤明 [Wed, 13 Jul 2011 09:33:04 +0000 (17:33 +0800)]
gpu: modify gcsHAL_INTERFACE to reduce memcopy size, Android version must be synchronized.
陈恒明 [Wed, 13 Jul 2011 06:39:16 +0000 (14:39 +0800)]
rk29: vpu: move vpu_service from user to kernel
黄涛 [Wed, 13 Jul 2011 06:58:40 +0000 (14:58 +0800)]
rk29: sdk: defconfig remove EXT3_FS_XATTR and YAFFS, add EXT4 and FUSE
黄涛 [Wed, 13 Jul 2011 06:58:26 +0000 (14:58 +0800)]
rk29: phonesdk: defconfig remove EXT3_FS_XATTR and YAFFS, add EXT4 and FUSE
黄涛 [Wed, 13 Jul 2011 06:58:13 +0000 (14:58 +0800)]
rk29: phonepadsdk: defconfig remove EXT3_FS_XATTR and YAFFS, add EXT4 and FUSE
黄涛 [Wed, 13 Jul 2011 06:57:53 +0000 (14:57 +0800)]
rk29: ddr3sdk: defconfig remove EXT3_FS_XATTR and YAFFS, add EXT4 and FUSE
wdc [Wed, 13 Jul 2011 06:31:37 +0000 (14:31 +0800)]
bluetooth: Add the Judge of the bluetooth irq to send wake up key
黄涛 [Wed, 13 Jul 2011 06:23:05 +0000 (14:23 +0800)]
rk29: enable HIGHMEM and ZONE_DMA
黄涛 [Wed, 13 Jul 2011 06:13:21 +0000 (14:13 +0800)]
Revert "rk29: Kconfig: support 1G memory"
This reverts commit
d11238ad51fd172858986b3c264176efb23295c5.
wdc [Wed, 13 Jul 2011 03:00:42 +0000 (11:00 +0800)]
bluetooth: iomux uart2_rts to gpio
wdc [Wed, 13 Jul 2011 01:34:57 +0000 (09:34 +0800)]
Revert "bluetooth: iomux uart2_rts to gpio"
This reverts commit
8b1e5c75a5482a262d63f78bc338fee2a96da7f5.
wdc [Wed, 13 Jul 2011 01:27:06 +0000 (09:27 +0800)]
bluetooth: iomux uart2_rts to gpio
yangkai [Wed, 13 Jul 2011 02:32:28 +0000 (10:32 +0800)]
hid device support remote wakeup
黄涛 [Tue, 12 Jul 2011 12:31:58 +0000 (20:31 +0800)]
rk29: clock: increase aclk_cpu for 1G+
yangkai [Tue, 12 Jul 2011 06:29:42 +0000 (14:29 +0800)]
modify a long time delay in irq disable when host enum
黄涛 [Mon, 11 Jul 2011 12:26:15 +0000 (20:26 +0800)]
rk29: L2 Data RAM latency set to 4 cycles, Tag RAM latency set to 3 cycles, suggested by zcs
黄涛 [Mon, 11 Jul 2011 12:18:31 +0000 (20:18 +0800)]
rk29: clock: make delay more accurate
黄涛 [Mon, 11 Jul 2011 12:15:57 +0000 (20:15 +0800)]
rk29: cru.h: make LOOP more accurate
黄涛 [Mon, 11 Jul 2011 12:13:46 +0000 (20:13 +0800)]
rk29: cpufreq: print freq change
hhb [Mon, 11 Jul 2011 10:08:38 +0000 (18:08 +0800)]
Revert "rk29:watch dog->add DBG() function in three functions"
This reverts commit
4f4b05956eafe96ca30211755e3b264dbed0016b.
hhb [Mon, 11 Jul 2011 10:08:15 +0000 (18:08 +0800)]
Revert "rk29:uart->rkserial.c add function printing what received and sent and modify uart2 rts pin operation in suspend and resume function"
This reverts commit
c846ff59f964fe14df539d389a8b82a66c1df924.
hhb [Mon, 11 Jul 2011 10:06:29 +0000 (18:06 +0800)]
Revert "rk29:fix bug arch/arm/mach-rk29/board-rk29-a22.c:493: warning: missing braces around initializer"
This reverts commit
589de6220192ac431424627747bade4c391f6363.
hhb [Mon, 11 Jul 2011 09:45:28 +0000 (17:45 +0800)]
rk29:fix bug arch/arm/mach-rk29/board-rk29-a22.c:493: warning: missing braces around initializer
hhb [Mon, 11 Jul 2011 09:43:38 +0000 (17:43 +0800)]
rk29:uart->rkserial.c add function printing what received and sent and modify uart2 rts pin operation in suspend and resume function
hhb [Mon, 11 Jul 2011 09:38:40 +0000 (17:38 +0800)]
rk29:watch dog->add DBG() function in three functions
wdc [Mon, 11 Jul 2011 09:10:21 +0000 (17:10 +0800)]
bluetooth: set wake_up_host gpio
zwp [Mon, 11 Jul 2011 03:33:04 +0000 (20:33 -0700)]
HYM8563 RTC: combine several i2c operations to one operation in oder to prevent kernel crashing when alarm suspend.
闹钟休眠的时候需要进行i2c传输,某些情况下会出现休眠时i2c超时的情况,导致系统崩溃。
原来连续地址的i2c读写分为1个字节的多次传输,这里将其改为多个字节的一次传输
杜坤明 [Fri, 8 Jul 2011 09:40:59 +0000 (17:40 +0800)]
gpu : use cache to avoid alloc & map & free frequently for non page memory.
邱建斌 [Fri, 8 Jul 2011 06:43:07 +0000 (14:43 +0800)]
rk29_phone:
1.fix bug Because headphones can not sleep
2.wm8994 add a wake_lock
3.turn up the speaker sound
root [Fri, 8 Jul 2011 06:36:09 +0000 (14:36 +0800)]
A22:modify battery parameter and add log of battery status changed
lyx [Fri, 8 Jul 2011 06:06:19 +0000 (23:06 -0700)]
newton: update irda driver
support FIR mode
lyx [Wed, 6 Jul 2011 07:53:38 +0000 (00:53 -0700)]
newton: add irda suspend and resume functions
lyx [Tue, 5 Jul 2011 10:05:25 +0000 (03:05 -0700)]
newton:add irda MIR mode
Now irda can work under MIR mode, FIR mode is still terrible.
root [Fri, 8 Jul 2011 04:00:30 +0000 (21:00 -0700)]
A22: fix spi0 txd and clk consume power in two 2.2K pull-up resistance
zyw [Thu, 7 Jul 2011 09:14:02 +0000 (17:14 +0800)]
fix hdmi bug: display disordered, Supplement
zyw [Thu, 7 Jul 2011 08:49:55 +0000 (16:49 +0800)]
fix hdmi bug: display disordered
陈金泉 [Thu, 7 Jul 2011 03:06:11 +0000 (11:06 +0800)]
改善codec mic 串音问题
jyk [Wed, 6 Jul 2011 13:51:24 +0000 (21:51 +0800)]
newton: update board defconfig file to enable FT5406 and Goodix GT819 touch panel
jyk [Wed, 6 Jul 2011 13:46:29 +0000 (21:46 +0800)]
newton: add audio recording support for codec cs42l52
jyk [Wed, 6 Jul 2011 12:02:37 +0000 (20:02 +0800)]
newton: add goodix tp support and support goodix and focal detect
1. add goodix touchscreen support
2. modify focal touchscreen driver to support goodix and focal detect
root [Wed, 6 Jul 2011 07:06:30 +0000 (15:06 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
lmc [Wed, 6 Jul 2011 07:02:01 +0000 (15:02 +0800)]
update newton config file and board file(add led support)
hhb [Tue, 5 Jul 2011 12:46:18 +0000 (20:46 +0800)]
rk29: add watch dog driver
hhb [Tue, 5 Jul 2011 12:43:42 +0000 (20:43 +0800)]
rk29:fix bug arch/arm/mach-rk29/board-rk29-a22.c:493: warning: missing braces around initializer
蔡枫 [Mon, 4 Jul 2011 13:21:26 +0000 (21:21 +0800)]
update newton config file and board file
蔡枫 [Mon, 4 Jul 2011 12:27:58 +0000 (20:27 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
蔡枫 [Mon, 4 Jul 2011 12:27:38 +0000 (20:27 +0800)]
add ac detec and gps power control function
root [Fri, 1 Jul 2011 19:04:55 +0000 (03:04 +0800)]
A22:delete preempt_disable operation of SPI bus
chenli [Tue, 5 Jul 2011 12:18:18 +0000 (20:18 +0800)]
fix ipp bugs:
1. return -EINVAL if scaling ratio is unsupported
2. check the input virtual width
宋秀杰 [Tue, 5 Jul 2011 07:07:38 +0000 (00:07 -0700)]
A22: add working power management function
lbt [Tue, 5 Jul 2011 06:48:55 +0000 (14:48 +0800)]
net:wifi: fixed -O2 compile error"array subscript is below array bounds"
lbt [Tue, 5 Jul 2011 06:42:31 +0000 (14:42 +0800)]
mmc: wifi sdio card ignore pm notify. otherwise wifi may work abnormally when resume from suspend.
宋秀杰 [Tue, 5 Jul 2011 04:18:12 +0000 (21:18 -0700)]
A22: default use 32K clock instead of 27M
yangkai [Tue, 5 Jul 2011 02:10:50 +0000 (10:10 +0800)]
usb host controller support remote wakeup
蔡枫 [Fri, 1 Jul 2011 08:20:29 +0000 (16:20 +0800)]
Merge branch 'develop' of 10.10.10.29:/home/rockchip/kernel into develop
蔡枫 [Fri, 1 Jul 2011 08:19:56 +0000 (16:19 +0800)]
read sn for newton
xsf@rock-chips.com [Fri, 1 Jul 2011 08:15:40 +0000 (16:15 +0800)]
smartphonesdk: to resolve the waring--unbalanced disable for LDO3,LDO8,LDO9