Age Message
8 years 3 months Merge branch 'jz-2.6.39' of projects.qi-hardware.com:qi-kernel into jz-2.6.39
8 years 5 months MIPS: JZ4740: A320: Updated quickstart documentation.

Mention the new ILI9338.
Removed the instructions to change the kernel command line for 64 MB RAM
on A330, since that is autodetected now if the 64 MB boot loader is used.
8 years 5 months MIPS: JZ4740: A320: Debounce microswitch buttons.

On the microswitch buttons of the Dingoo A320 (L/R/select/start), it often
happens that multiple presses are detected for one actual button press.
Specifying a 5 ms debounce interval fixes that issue. I am not sure what
the optimum interval length would be, but 5 ms is short enough to not cause
problems for gamers and long enough to filter out the glitches.
8 years 5 months MIPS: JZ4740: reset: Initialize hibernate wakeup counters.

In hibernation mode only the wakeup logic and the RTC are left running,
so this is what users perceive as power down.

If the counters are not initialized, the corresponding pin (typically
connected to the power button) has to be asserted for two seconds
before the device wakes up. Most users expect a shorter wakeup time.

I took the timing values of 100 ms and 60 ms from BouKiCHi's patch for
the Dingoo A320 kernel.
8 years 6 months MIPS: JZ4740: USB: Fix packet read/write functions.

The read_packet() and write_packet() functions were recently converted
to use memcpy_fromio() and memcpy_toio(). However, the FIFO register
is only a single address while memcpy increases the address. Fixed by
using readsl() and writesl() instead.
8 years 5 months MIPS: JZ4740: A320: defconfig: Enabled suspend.

With the addition of cpufreq support in the MMC driver, we can come out
of suspend without getting I/O errors from the SD card.
8 years 5 months MIPS: JZ4740: cpufreq: select CPU_FREQ_TABLE

The driver calls cpufreq_frequency_table_target() unconditionally.
Also changed the indentation to tabs, which seems to be the norm.
8 years 5 months MIPS: JZ4740: A320: defconfig: Re-enabled cpufreq driver.

With recent changes the SD card access is reliable again when changing
the CPU frequency.
8 years 5 months MMC: JZ4740: Added support for CPU frequency changing.

The MSC device clock is stopped before the frequency change.
After the change a new divider is computed and the clock is restarted.
Also the frequency change is postponed if an I/O operation is in progress.
8 years 5 months MIPS: JZ4740: cpufreq: Set CE bit after PLL freq change.

This fixes I/O errors when reading from SD card.
I guess this is a hardware quirk: I even tried writing the current value
with the same routine and that had no effect, so it is not some side effect
that avoids the I/O errors, it is actually the CE bit that matters.
8 years 5 months MIPS: JZ4740: Kconfig: Mark the Dingoo A320 as a JZ4740 SoC system.
8 years 6 months MIPS: JZ4740: A320: defconfig: Disable CPU frequency scaling for now.

I get I/O errors reading from the SD card when the cpufreq driver is
used. In earlier kernels we had SD problems with cpufreq and suspend,
but in 2.6.39 it also shows up under normal use. Until this problem
is fixed in the cpufreq driver, it's better to disable it.
8 years 6 months MIPS: JZ4740: USB: Fix packet read/write functions.

The read_packet() and write_packet() functions were recently converted
to use memcpy_fromio() and memcpy_toio(). However, the FIFO register
is only a single address while memcpy increases the address. Fixed by
using readsl() and writesl() instead.
8 years 6 months jz4740: Fix compile error
8 years 6 months Fix MFD jz4740-ts entry
9 years 3 months MIPS: A320: Default config for Dingoo A320.

This is the config from the jz-2.6.38 branch brought up to date for 2.6.39.
8 years 6 months jz4740: Fix compile error
8 years 6 months Fix MFD jz4740-ts entry
8 years 8 months MIPS: A320: Add Dingoo A320 board support.

This is a squashed version of the development done in the jz-2.6.38 branch.
9 years 7 months MIPS: JZ4740: A320: Force vmlinuz load address on Dingoo A320

The Dingux dual boot loader seems to require a fixed load address.
8 years 6 months OpenDingux: initrd: Specify initrd contents using text file

The gen_init_cpio tool will parse the text file and generate a cpio archive.
The mininit binary comes from booboo's initrd.cpio image.
8 years 6 months Revert "NAND: Optimize reading the eec data for the JZ4740 (evil hack)"

This reverts commit b05a5adf03613de371c77c3235f7d970d7cd0c71.
This hack breaks compatibility with the ChinaChip FTL as used by the native OS of the Dingoo A320.
9 years 18 days MTD: NAND: JZ4740: Multi-bank support with autodetection

The platform data can now specify which external memory banks to probe
for NAND chips, and in which order. Banks that contain a NAND are used
and the other banks are freed.

Squashed version of development done in jz-2.6.38 branch.
Original patch by Lars-Peter Clausen with some bug fixes from me.
Thanks to Paul Cercueil for the initial autodetection patch.
8 years 7 months MIPS: JZ4740: setup: Autodetect physical memory.

Assume that the boot loader knows the physical memory of the system and
deduce that information from the contents of the SDRAM control register.
It is still possible to override with with the "mem=" parameter, but we
have a sensible default now.
8 years 6 months MIPS: JZ4740: SLCD framebufer driver.

This driver sends the frame buffer to a smart LCD controller, that is a controller with its own video memory.
It is a squashed version of development done in the jz-2.6.38 branch.


interactive