Lars-Peter Clausen
1ac22689b8
jz4740: Get rid of unused files.
2009-11-20 19:28:03 +01:00
Xiangfu Liu
df58b94fba
disable JFFS2 and SQUASH filesystem
...
enable input event for poweroff daemon
2009-11-21 00:10:17 +08:00
Xiangfu Liu
ac43468371
disable init gpio as uart0 for end user
...
in Ben NanoNote uart0 and keyboard use the one same gpio
if init this gpio as uart0. this cause a keyboard bug
2009-11-20 23:31:30 +08:00
Xiangfu Liu
0f4bab5d6b
update u-boot patch use ubifs in BOOTARGS
2009-11-18 23:25:40 +08:00
Xiangfu Liu
92167260ad
re-license the board-qi_lb60.c with GPLv2 or later
2009-11-18 10:23:56 +08:00
Lars-Peter Clausen
733ee36727
jz4740: gpio: Emulate EDGE_BOTH irq type.
...
The jz4740 only supports EDGE_RISING or EDGE_FALLING. Some drivers need
EDGE_BOTH so we try to emulate it.
2009-11-16 01:34:50 +01:00
Lars-Peter Clausen
2982c214f6
Add ubifs support.
2009-11-14 20:27:04 +01:00
Lars-Peter Clausen
31ee690d0a
u-boot: Disable adc and usb host clock at boot
...
Adc clock will be enabled when it's needed and we don't use usbhost.
2009-11-12 01:40:11 +01:00
Lars-Peter Clausen
0d3b54ed10
gpm940b0: Add suspend/resume support.
2009-11-09 19:32:20 +01:00
Lars-Peter Clausen
92e06e95a5
jz4740: qi_lb60: Allow the power button to wakeup the device from suspend.
2009-11-09 17:56:21 +01:00
Lars-Peter Clausen
213a66582d
xburst: Enable gpio buttons driver in config.
...
This is required to make the power button work.
2009-11-09 17:55:22 +01:00
Lars-Peter Clausen
1dd40a2e65
xburst: Enable suspend in config
2009-11-09 17:53:35 +01:00
Lars-Peter Clausen
27ca1adf36
jz4740: Cleanup powermanagemnt code. Add inital suspend support.
2009-11-09 17:47:28 +01:00
Lars-Peter Clausen
12f85f8a91
jz4740: Don't enable all clocks when booting.
...
All clocks we need should allready be enabled by the bootloader.
2009-11-09 01:10:31 +01:00
Lars-Peter Clausen
c9cb830945
u-boot: Disable clocks we don't need
...
We might gain a few more minutes battery runtime by this.
2009-11-09 00:44:26 +01:00
Lars-Peter Clausen
bc0684a065
jz4740: Remove imem and ipu support from proc
...
It's not used and wastes 4MB of mem.
2009-11-09 00:25:34 +01:00
Lars-Peter Clausen
928b8ba548
jz4740: Remove mmc file from proc section
...
It does not make sense to keep it threre.
2009-11-08 23:48:53 +01:00
Lars-Peter Clausen
207ee3b6f5
u-boot: Don't initalize i2c and ssi gpio pins.
...
We use neither.
2009-11-08 23:00:32 +01:00
Xiangfu Liu
1652213e92
[U-BOOT] fix init
2009-10-30 15:44:24 +08:00
Lars-Peter Clausen
44e92dbd5d
gpm940b0: Select high driver frequency
...
Fixes flicker.
2009-10-30 02:18:31 +01:00
Xiangfu Liu
6293205a75
font SUN8x16 is better
2009-10-28 03:13:33 +08:00
Xiangfu Liu
d0e8e5dbfc
update u-boot patch
...
Signed-off-by: Xiangfu Liu <xiangfu@qi-hardware.com>
2009-10-28 03:13:33 +08:00
JieJing.Zhang
907a34b80e
jz_battery: fix bug cause kernel panic.
...
all about container_of macro.
Signed-off-by: JieJing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:33 +08:00
Xiangfu Liu
110c87a5f7
revert commit: 3dbe390f5347b6c279c9d193445e1c86fbee9894
...
those change make kernel panic.
2009-10-28 03:13:33 +08:00
Xiangfu Liu
8319e34599
fix the jz4740_pcm_mmap function
...
now Ben can play online Radio
2009-10-28 03:13:33 +08:00
Jiejing.Zhang
96b315a920
add disable sound amp while sound not playback.
...
This will save power of amp.
Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:33 +08:00
Xiangfu Liu
6aec1a06bf
change system name form OpenWrt to BenNanoNote
2009-10-28 03:13:32 +08:00
Xiangfu Liu
6abb40220e
fix the comma and period key
2009-10-28 03:13:32 +08:00
Xiangfu Liu
fa7ec6d7d6
enable the speaker
2009-10-28 03:13:32 +08:00
Xiangfu Liu
e64a14b4fd
enable the sound as default
2009-10-28 03:13:32 +08:00
Xiangfu Liu
3843e5f1af
upgrade u-boot to 2009.08
2009-10-28 03:13:32 +08:00
Lars-Peter Clausen
9eff41dbb1
qi_lb60: Initalize nand paritions and ecc layout depending on the chip size.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
cc05485408
jz4740_nand: Add ident_callback
...
Add ident_callback which is called after the nand chip has been identified and
before it is setup. This can be used by board code to set partition and ecc info
depending on the chip.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
7fa87373a8
mach-jz4740: Move all non generic code from platform.c to board-qi_lb60.c
...
platform.c should only contain the generic platform device definitons,
everything board specific should go into the board file.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
5709f560f9
Cleanup qi-lb60 board code.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
9c229a412e
Remove old ingenic framebuffer drivers.
...
I think it's time to get rid of these
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
c84ef25bf3
Merge patches into files.
2009-10-28 03:13:31 +08:00
Lars-Peter Clausen
c456866a4a
jz4740_fb: Properly initalize physical video memory address
2009-10-28 03:13:31 +08:00
Florian Fainelli
7df7bde3ac
refresh xburst patches
2009-10-28 03:13:30 +08:00
Xiangfu Liu
767987c14e
cleaup code style
2009-10-28 03:13:30 +08:00
Xiangfu Liu
d89fdafa97
update power button patch
2009-10-28 03:13:30 +08:00
Mirko Vogt
e818ccc989
use the linux kernel version 2.6.31 (final)
2009-10-28 03:13:30 +08:00
Xiangfu Liu
3dde1ac212
code style cleanup jz4740_nand.c
2009-10-28 03:13:30 +08:00
Xiangfu Liu
ce96b1f2a5
remove init WAKEUP in board-qi_lb60 file
2009-10-28 03:13:30 +08:00
Xiangfu Liu
4fc4138e68
add power button driver
2009-10-28 03:13:30 +08:00
Xiangfu Liu
2f3ac925c4
cleanup-gpm940b0-code-style.patch
2009-10-28 03:13:29 +08:00
Xiangfu Liu
1649bbc3d6
make poweroff command work
2009-10-28 03:13:29 +08:00
Xiangfu Liu
71e391515f
cleanup modifier keys driver
2009-10-28 03:13:29 +08:00
Mirko Vogt
a1ef81c12e
enable ext3 and (v)fat by default
2009-10-28 03:13:29 +08:00
Mirko Vogt
090ea365ad
disabled MMC debug output in default config
2009-10-28 03:13:29 +08:00
Mirko Vogt
204259721b
do not use default device type <router> as we do not need dnsmasq, ppp, iptables, etc. for now
2009-10-28 03:13:29 +08:00
Mirko Vogt
c2696d65ee
use rootwait instead of rootdelay as it is mor dynamic - however there's no delay needed anyway when booting from nand
2009-10-28 03:13:28 +08:00
Jiejing.Zhang
cd0d71a697
jz-battery: improve code. clear static var.
...
1. clear static global var, use platform_get_drvdata.
2. check gpio state before register power supply.
Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:28 +08:00
Mirko Vogt
45c720faff
add base files for
...
- assigning IP 192.168.1.1 per default to usb0-interface (usb-ethernet-gadget)
- add mountpoint for 1st partrition of sd-card - prelimary for testing purposes
2009-10-28 03:13:28 +08:00
Xiangfu Liu
2b24518947
enable printk_time
2009-10-28 03:13:28 +08:00
Jiejing.Zhang
c91cec083b
jz_battery: improve driver code.
...
1. put all gobal var to a driver info struct.
2. check gpio before use it.
Signed-off-by: Jiejing.Zhang <kzjeef@gmail.com>
2009-10-28 03:13:28 +08:00
Lars-Peter Clausen
ae01e2fb2c
Add jz4740-adc.h
2009-10-28 03:13:28 +08:00
Lars-Peter Clausen
90dc5a173c
jz4740-ac: Fix some small bugs
2009-10-28 03:13:27 +08:00
Lars-Peter Clausen
bdbda932b8
Compile fix jz4740-battery.c, use adc driver and some other minor cleanups.
...
Enable adc and battery.
2009-10-28 03:13:27 +08:00
Lars-Peter Clausen
7a88b927f8
Add jz4740 ADC driver.
2009-10-28 03:13:27 +08:00
Xiangfu Liu
7c9aa25b12
refresh patch
2009-10-28 03:13:27 +08:00
Xiangfu Liu
9e02463e3e
add jz4740_batt.h
2009-10-28 03:13:27 +08:00
Xiangfu Liu
9e7f1e7f1a
remove the JZ_BAT_XXX_VOLTAGE define
2009-10-28 03:13:27 +08:00
Jiejing.Zhang
5878098ab3
cleanup more about battery gpio and platform data
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
4c36a20b10
Add jz4740-rtc driver.
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
9480e0470b
jz4740_fb: Add include guards
2009-10-28 03:13:26 +08:00
Xiangfu Liu
65051a9ad5
cleanup-qi_lb60.h
2009-10-28 03:13:26 +08:00
Xiangfu Liu
cd6b976c21
revert the keyboard.c code. just change the defkeymap.map make all keys work
...
also the [Euro] [Degree] [Umlaut] work
2009-10-28 03:13:26 +08:00
Xiangfu Liu
04429a1771
Fn-modifier-keys-work
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
918f1072ed
Remove i2c.
2009-10-28 03:13:26 +08:00
Xiangfu Liu
08996e7e50
add defkeymap.c, fix the CAPSLOCK not work
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
4230547879
Some build fixes.
2009-10-28 03:13:26 +08:00
Lars-Peter Clausen
daab2fae9a
jz4740: More udc cleanup. Enable usb ethernet gadget.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
0a70a90d30
jz4740: irq and dma cleanups.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
f5d7bb60e5
Add qi lb60 sound soc board driver.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
557e48bc8e
Some build fixes.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
4be762051b
Remove 0002-qi_lb60_support_patch.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
9b4d9a94d6
Oops... those where missing from commit cbecf6e9f1
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
8bb63272c3
jz4740 asoc: Add new internel codec driver.
...
Add qi lb60 board support.
Remove unneeded files.
2009-10-28 03:13:25 +08:00
Lars-Peter Clausen
299c9e29ef
jz4740: More udc cleanup. Enable usb ethernet gadget.
2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
8c57ef78b6
jz4740: Cleanup Kconfig
2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
fdeff24f83
jz4740: irq and dma cleanups.
2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
d763dfdb80
jz4740_nand: Fix compiler warning
2009-10-28 03:13:24 +08:00
Xiangfu Liu
764fdaf217
unset CONFIG_MMC_BLOCK_BOUNCE make sd card work
...
the RedUpPoint combination keys work. [Fn] combination not work
2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
935e79e5ab
More udc cleanup
2009-10-28 03:13:24 +08:00
Lars-Peter Clausen
88f159b443
Cleanup udc driver (a bit).
2009-10-28 03:13:23 +08:00
Xiangfu Liu
055e2e36f7
update cmdline
2009-10-28 03:13:23 +08:00
Xiangfu Liu
89c608c1a0
update cmdline, default boot to nand. u-boot bootdelay set to 0
2009-10-28 03:13:23 +08:00
Mirko Vogt
ee1bee1421
use new display- and fbdriver
2009-10-28 03:13:23 +08:00
Mirko Vogt
c16999abab
get rid of obsolete kernel patches and -configs
2009-10-28 03:13:23 +08:00
Mirko Vogt
c64bbe21ab
refresh config - use openwrt boot logo
2009-10-28 03:13:22 +08:00
Mirko Vogt
be2beb8dd3
add openwrt boot logo
2009-10-28 03:13:22 +08:00
Mirko Vogt
98d2317905
fix typo
2009-10-28 03:13:22 +08:00
Xiangfu Liu
281d29e9b7
fix the kernel compile error in openwrt
...
the patch folder is not correct
2009-10-28 03:13:22 +08:00
Lars-Peter Clausen
1976b23d08
Set correct color sequnce.
...
Add a debug sysfs entry reg which gives direct write access to lcms display
registers.
2009-10-28 03:13:21 +08:00
Lars-Peter Clausen
3a1ece5ea7
Add lcm driver.
2009-10-28 03:13:21 +08:00
Lars-Peter Clausen
430fba9852
Fix typo.
2009-10-28 03:13:21 +08:00
Lars-Peter Clausen
b8419470a2
Add clock support. Mostly untested.
2009-10-28 03:13:21 +08:00
Xiangfu Liu
fd21fd92e0
make kernel default compile for 2GB NAND flash board
2009-10-28 03:13:21 +08:00
Xiangfu Liu
bdad94fa1a
git rebase with master
...
fix the patch erro after rebase
2009-10-28 03:13:21 +08:00
Xiangfu Liu
4c6e0c02ed
this option make MMC driver alwasy work when boot
2009-10-28 03:13:20 +08:00
Xiangfu Liu
5b983412c7
add-2gb-nand-support
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:20 +08:00
Xiangfu Liu
26795803ce
fix a redefine warning, GPIO_PWM defined in board-qi_lb60.c file
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:20 +08:00
Xiangfu Liu
701937f9f1
this option make MMC not use DMA, so remove this option
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:20 +08:00
Xiangfu Liu
9ac5dc2ca3
try to add lb60 to 2.6.31 kernel
...
this is not the work patch.
just show some work progress.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:19 +08:00
Xiangfu Liu
f81c2213a2
add-2.6.24-kernel-patch
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:19 +08:00
Mirko Vogt
59095d9f64
Revert "change default baudrate to 115200"
...
This reverts commit 03acb399060bc7b9013f3776b8697915389b4592.
2009-10-28 03:13:18 +08:00
Mirko Vogt
f010e75458
change default baudrate to 115200
2009-10-28 03:13:18 +08:00
Xiangfu Liu
b9ae82b25f
split-0002-patch
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:18 +08:00
Xiangfu Liu
f5e43476d3
update-kernel-config
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:18 +08:00
Xiangfu Liu
81c4391daf
[U_BOOT]add-2GB-nand-support.patch
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:18 +08:00
Marek Lindner
da2604ac53
[xburst] remove the dash from the filenames
2009-10-28 03:13:17 +08:00
Xiangfu Liu
ee8a609caf
fix [SHIFT,CAPSLOCK] key define
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
a66785b06c
Add gpio pin definitions and functions to configure a pin as a function pin.
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
8fbe4ebda0
Enable ubi/ubifs and nand verify writes.
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
297d16a6ec
Aligen framebuffer data at page boundary.
2009-10-28 03:13:15 +08:00
Xiangfu Liu
93a92952e6
update-config-file
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:15 +08:00
Xiangfu Liu
20ae439824
fix u-boot eccpos change it to 12
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
e4334246a3
Allocate jffs2 summery buffer with vmalloc.
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
a65fb5ef2d
reserve bad block area in oob data.
2009-10-28 03:13:15 +08:00
Xiangfu Liu
3aa5222095
revert the jzlcd.h configure to fit the patch file.
...
remove 51-fb.patch. we have 051-fb.patch.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:15 +08:00
Lars-Peter Clausen
35fedaa9e4
Fix some problems in the framebuffer driver.
2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
ebc8c5a149
Add framebuffer driver for the jz4720/jz4740. It's not complete yet but provides
...
enough for qi_lb60 support.
2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
8e033878c9
Add missing irq defintions for gpio, build gpio module and select necessary
...
symbols for gpio lib.
2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
b85721d95f
Add matrix keyboard to config.
2009-10-28 03:13:14 +08:00
Lars-Peter Clausen
1cbf56a99d
Fix gpio initialisation.
2009-10-28 03:13:14 +08:00
Xiangfu Liu
e20cd0d3eb
fix a redefine warning, GPIO_PWM defined in board-qi_lb60.c file
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:14 +08:00
Xiangfu Liu
b5904054fb
make lcd work in 2.6.31
...
fix typo in driver/video/Makefile
add some option to driver/video/Kconfig
update the .config file.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:14 +08:00
Mirko Vogt
023bdebb28
add config for 2.6.31 - might need some more love
2009-10-28 03:13:14 +08:00
Mirko Vogt
e765a38f5c
switch to linux kernel version 2.6.31-rc6 by default as the generic patchset for 2.6.31 went upstream
2009-10-28 03:13:14 +08:00
Xiangfu Liu
f4db617ed0
change the u-boot and kernel image name
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:13 +08:00
Xiangfu Liu
bb05897208
make the 2.6.31-rc6 compiled in openwrt.
...
*add layer7_2 patch fix the iptables compile error
*remove the 'sizes.h' include in jz_mmc.c
*chmod -x jz_mmc.*
*not make uImage in Makefile, let openwrt do it.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:13 +08:00
Xiangfu Liu
10b1e8ca0c
cleanup the 2.6.31-rc6 050-nand.patch 200-qi_lb60.patch
...
there is repeat code in platform.c file and 050-nand.patch
make 200-qi_lb60.patch no warning.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:13 +08:00
Lars-Peter Clausen
7d446f792e
Add 2.6.31 patches and files.
2009-10-28 03:13:13 +08:00
Xiangfu Liu
f58d88c0f1
this option make MMC not use DMA, so remove this option
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:13 +08:00
Mirko Vogt
6e1aa6e45c
the forgotten one :)
2009-10-28 03:13:13 +08:00
Mirko Vogt
2d3cd80303
drop out all mtd-related changes made by ingenic
2009-10-28 03:13:12 +08:00
Mirko Vogt
c16fafb1df
purge out mtd-utils
2009-10-28 03:13:12 +08:00
Mirko Vogt
0fd039053c
purge out OSS stuff as it's obsolete, does not compile and isn't worth the time fixing it
2009-10-28 03:13:12 +08:00
Mirko Vogt
8fc6527893
cautious cleanup of ingenic patch
2009-10-28 03:13:12 +08:00
Mirko Vogt
42f21cc2a7
deselect oss stuff as it does not compile - it's obsolete and will be dropped out anyway...
2009-10-28 03:13:12 +08:00
Mirko Vogt
4cd0737e57
add config for linux kernel version 2.6.27 based on the config for 2.6.25
2009-10-28 03:13:11 +08:00
Mirko Vogt
dc3d3f1c49
yet another patchset - 2.6.27
...
it's basically also provided by ingenic and nativly based on 2.6.27,
adjusted to fit into the OpenWrt-environment
2009-10-28 03:13:11 +08:00
Xiangfu Liu
4a72d4b2fe
should-use-DMA-in-mmc
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:10 +08:00
Xiangfu Liu
aa38f1d23a
try to add lb60 to 2.6.31 kernel
...
this is not the work patch.
just show some work progress.
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:10 +08:00
Xiangfu Liu
f407b215f1
add-2.6.24-kernel-patch
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:10 +08:00
Xiangfu Liu
4808ec76e8
add-2.6.24-kernel-patch
...
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
2009-10-28 03:13:09 +08:00
Mirko Vogt
e6bf784ae0
Revert "change default baudrate to 115200"
...
This reverts commit 03acb399060bc7b9013f3776b8697915389b4592.
2009-10-28 03:13:08 +08:00
Mirko Vogt
880ef14905
ext2 should be built-in to be able having it as rootfs
2009-10-28 03:13:08 +08:00
Mirko Vogt
38be4dace5
change default baudrate to 115200
2009-10-28 03:13:08 +08:00