rEVERSING THE SOURCE CODE

Hardware to support

hardware status comments
mtd ok With or without proprietary mtdblock?
serial console ok  
RTC not done  
sound not done  
keyboard    
lcd fb ok  
lcd bl not done  
lpc915 battery charger not done  
mmc/sd ok does not work when card is inserted on boot
Power Management (sleep, suspend) NOK do not even try it!

Difference between skytone and ingenic pmpv1 board drivers

  • LPC915 communications. The LPC915 is probably used as the battery charger. (called MCU in the source in minipc-misc)
  • LCD controller specifics (Jzlcd.h)
  • Keyboard driver (minipc-kbd.c)
The remainder seems like tweaks and stuff to enable recovery things.

The 2.6 version

Decisions decisions:

  • Go for 2.6.27 or for 2.6.24 (ingenic supported) -> 2.6.24
  • Hack in the lcd, or add a new lcd -> New lcd
  • Hack in the machine, or add a new ingenic machine -> new machine based on pmpv2

Steps

PMP based

  • Get the lcd working (important because we don't want to kill the display)
  • Get the serial console working (important because that makes life easier)

New machine based

  • Clone the pmp code into a new machine
  • Revert the pmp code
  • Redo lcd patch (generic lcd driver/machine specific GPIO settings)
  • Get the keyboard working (so we can type)
  • Port LPC915 MCU stuff

Milestone 1?

  • Send patches/demo to skytone
  • suspend(2ram) (any kind of suspend will do for me)
  • tickless keyboard scanner

Milestone 2?

  • force ingenic patches upstream by porting to latest kernel and sending to linux-mips maintainer
  • re-engineer proprietary MMC driver

LOG

ard@lennydev64:~/nas/src/epc/kernel/svn/minibook-kernel/linux-2.6.24.3-minibook$ make pmp_defconfig
ard@lennydev64:~/nas/src/epc/kernel/svn/minibook-kernel/linux-2.6.24.3-minibook$ make menuconfig
ard@lennydev64:~/nas/src/epc/kernel/svn/minibook-kernel/linux-2.6.24.3-minibook$ make uImage

Current status

This stuff can kill your minipc! Always be prepared to run in your system again. Do not ever flash this kernel to your minipc, only boot from sd.
Topic attachments
I Attachment Action Size Date Who Comment
elsediff basic-diff.diff manage 171.8 K 01 Nov 2008 - 13:47 ArdVanBreemen Basic diff between ingenic and skytone kernel
elseEXT filelist manage 310.8 K 01 Nov 2008 - 13:48 ArdVanBreemen script to make basic-diff.diff
elsegz linux-2.6.24.3-jz-20080530.patch.gz manage 1183.6 K 04 Jan 2009 - 13:36 ArdVanBreemen Copy of the ingenic patches. Since the binary is distributed, the source is also GPL.
elsegz linux-2.6.24.3-jz-20080926.patch.gz manage 1261.6 K 04 Jan 2009 - 13:35 ArdVanBreemen Copy of the ingenic patches. Since the binary is distributed, the source is also GPL.
txttxt minicom.cap.001.txt manage 7.1 K 01 Nov 2008 - 12:41 ArdVanBreemen created minipc board
txttxt minicom.cap.txt manage 14.1 K 01 Nov 2008 - 10:15 ArdVanBreemen My first bootlog... Panic!
Topic revision: r11 - 04 Jan 2009 - 13:36:24 - ArdVanBreemen
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback