Lars-Peter Clausen
caefa284ef
Add ubifs feature flag.
2009-12-06 20:53:23 +01:00
Lars-Peter Clausen
9b67cee817
n526: Add keyboard controller driver
2009-12-06 19:16:54 +01:00
Xiangfu Liu
24de55b4a0
[POWER] + [M]: boot from sd-card
...
[POWER] + [S]: enable UART0
[POWER] + [U]: goto usb boot mode
disable init gpio as uart0
2009-12-07 02:09:10 +08:00
Lars-Peter Clausen
3184b1152b
Merge branch 'xburst' of git@projects.qi-hardware.com:openwrt-xburst into xburst
2009-12-06 17:18:40 +01:00
Lars-Peter Clausen
3973f270ee
n526: Add board sound driver.
2009-12-06 17:16:11 +01:00
Mirko Vogt
71df6e0d6d
since the ebook-reader based on the same soc is now supported as well, we have to choose which device we're going to build an image for. Preselect the LB60/NN for now. Getting both devices supported in a clean way might be possible via "profiles" later.
2009-12-06 12:03:04 +01:00
Mirko Vogt
9e3a54c8b0
as sound modules on the xburst target aren't used (instead statically compiled into the kernel image), but audio related packages depend on the package <soundcore> we override variables <SOUNDCORE_FILES> and <SOUNDCORE_LOAD> to make >soundcore> a summy package and satisfy all dependencies without major adjustments
2009-12-02 17:36:46 +01:00
Lars-Peter Clausen
043bd2e062
jz4740: Fix mmc plaform device name.
2009-12-02 09:49:37 +01:00
Lars-Peter Clausen
c9674c3ab7
jz-mmc: Put functions pins to high-z during suspend.
2009-12-02 04:17:50 +01:00
Lars-Peter Clausen
3ae48ccb8c
jz4740: GPIO: Add functions to put function pins to high-z and to restore their
...
function.
We want to put function pins to high-z to decrease power leakage during suspend.
2009-12-02 04:12:39 +01:00
Lars-Peter Clausen
aa7c40a8c1
jz_mmc: Fix MODULE_LICENSE string.
2009-12-02 02:14:45 +01:00
Lars-Peter Clausen
b49fda4c4d
board-qi_lb60: remove obsolete definitions.
2009-12-01 12:37:30 +01:00
Lars-Peter Clausen
9b6b004c29
Don't reference non existing file
2009-12-01 11:40:04 +01:00
Lars-Peter Clausen
093af2c9c4
board-n526: Add very basic n526 support.
2009-12-01 11:28:00 +01:00
Lars-Peter Clausen
86dbff8d6f
Merge branch 'xburst' of git@projects.qi-hardware.com:openwrt-xburst into xburst
2009-12-01 11:14:13 +01:00
Lars-Peter Clausen
a37293414f
jz4740-mmc: Some minor fixes.
2009-12-01 11:13:52 +01:00
Xiangfu Liu
dfa8fb7f59
add fix compile zImage patch
2009-11-30 13:03:18 +08:00
Lars-Peter Clausen
58eb7333af
Enable MMC unsafe resume. Otherwise the system will hang during suspend
2009-11-29 04:19:57 +01:00
Lars-Peter Clausen
0cc0cfdf81
jz4740-mmc: set correct drvdata
2009-11-29 04:17:52 +01:00
Lars-Peter Clausen
c053cdb48a
Merge branch 'xburst' of git@projects.qi-hardware.com:openwrt-xburst into xburst
2009-11-28 07:40:06 +01:00
Lars-Peter Clausen
77179384c6
jz4740: Use new mmc driver.
2009-11-28 07:39:48 +01:00
Xiangfu Liu
e9fdf9f61f
switch enable UART0 by press [S]
...
switch USBBOOT mode by press [U]
2009-11-26 15:46:22 +08:00
Xiangfu Liu
69ea41784f
init the gpio keyin8
2009-11-22 22:39:51 +08:00
Lars-Peter Clausen
287b78fea2
Merge branch 'xburst' of git@projects.qi-hardware.com:openwrt-xburst into xburst
2009-11-21 15:33:51 +01:00
Lars-Peter Clausen
7cb18ebd63
jz4740: Use old mmc driver for now (the new one hasn't been commited yet)
2009-11-21 15:31:36 +01:00
Mirko Vogt
499fe597b8
reenable JFFS2 - why it got didabled?
2009-11-21 14:22:26 +01:00
Lars-Peter Clausen
145c533ec2
Fix issues form previous commit...
2009-11-21 03:14:20 +01:00
Lars-Peter Clausen
0c0247d223
Merge branch 'xburst' of git@projects.qi-hardware.com:openwrt-xburst into xburst
2009-11-20 19:38:21 +01:00
Lars-Peter Clausen
a5b5e808a5
jz4740: Some restrucuring to prepare for regs.h and ops.h removal
2009-11-20 19:36:33 +01:00
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