Author Topic: Kernel with 8x8 terminal font, RTC and poweroff  (Read 7584 times)

xdpirate (OP)

  • * Former Staff
  • Posts: 490
Kernel with 8x8 terminal font, RTC and poweroff
« on: June 09, 2010, 06:18:31 am »
Based on this fantastic kernel, here's a version that will make the terminal text easier to read, helpful for development and troubleshooting alike. It features an 8x8 VGA font compiled in, and the old fugly mini 4x6 font is removed.

Screenshot: (Click to enlarge)

(The "Dingux" logo at the top is removed in the release, I find it useless to have that logo twice when it already shows up during boot. Tux is still intact though! :) )

Download:
zImage for ILI9331_3
zImage for ILI9325

I tested this by overwriting the old zImage on a HK Dingoo using the 9331 LCD, and it works perfectly (:

Remember actually renaming the kernel image to plain "zImage", or else it won't work.

Edit: Oh yeah, this is for the A320, though it'll work on the A330, but without 64 MB RAM support ;)
« Last Edit: June 09, 2010, 06:32:34 am by xdpirate »

pasteur

  • *
  • Posts: 40
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #1 on: June 09, 2010, 12:59:16 pm »
Looks good.  :)

SiENcE

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #2 on: June 09, 2010, 01:31:14 pm »
You only changed the font?

omgmog

  • * Administrator
  • Doesn't sleep.
  • Posts: 763
    • omgmog.net
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #3 on: June 09, 2010, 01:46:44 pm »
You only changed the font?

That's all he needed :p

ruffnutts

  • ****
  • Posts: 2680
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #4 on: June 09, 2010, 05:05:16 pm »
This dont contain the new TV-OUT then?

xdpirate (OP)

  • * Former Staff
  • Posts: 490
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #5 on: June 09, 2010, 07:05:42 pm »
This dont contain the new TV-OUT then?
No. The changes from boukichis kernel are a bigger terminal font and no dingux logo on boot.

RodrigoCard

  • *
  • Posts: 314
    • Mac Joystick Apps
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #6 on: June 10, 2010, 05:28:37 am »
I wanted do this, but i?m lazy  :P
thanks  :D

EDIT: can you post the source or a diff?  ???
« Last Edit: June 10, 2010, 05:31:41 am by RodrigoCard »

xdpirate (OP)

  • * Former Staff
  • Posts: 490
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #7 on: June 10, 2010, 06:03:13 am »
I wanted do this, but i´m lazy  :P
thanks  :D

EDIT: can you post the source or a diff???

I didn't create any diffs, unfortunately. This is what I did:

  • Downloaded the dingux sources from svn at http://dingoo-linux.googlecode.com/svn/trunk
  • Applied the diff patch in boukichi's kernel (from the package here)
  • Ran make ARCH=mips a320_defconfig ; make ARCH=mips menuconfig ; make ARCH=mips zImage
  • Removed the 4x6 font and added the 8x8 font (it's already in there, you only need to disable the one you don't want and enable the one you do want)
  • Removed the dingux boot picture in menuconfig, used only 224-color tux logo
  • Remember to chose the appropiate LCD driver in menuconfig if you have the ILI9331_3 LCD controller

:)

TVSMASHER

  • *
  • Posts: 26
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #8 on: June 13, 2010, 06:13:34 am »
A cool mod!! Thanks!! :)

RodrigoCard

  • *
  • Posts: 314
    • Mac Joystick Apps
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #9 on: June 13, 2010, 11:10:52 pm »
I wanted do this, but i?m lazy  :P
thanks  :D

EDIT: can you post the source or a diff???

I didn't create any diffs, unfortunately. This is what I did:

  • Downloaded the dingux sources from svn at http://dingoo-linux.googlecode.com/svn/trunk
  • Applied the diff patch in boukichi's kernel (from the package here)
  • Ran make ARCH=mips a320_defconfig ; make ARCH=mips menuconfig ; make ARCH=mips zImage
  • Removed the 4x6 font and added the 8x8 font (it's already in there, you only need to disable the one you don't want and enable the one you do want)
  • Removed the dingux boot picture in menuconfig, used only 224-color tux logo
  • Remember to chose the appropiate LCD driver in menuconfig if you have the ILI9331_3 LCD controller

:)

Very nice!

Thanks for the instructions :)

yefeng

  • *
  • Posts: 33
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #10 on: June 14, 2010, 09:47:11 am »
how about 6x8?

xdpirate (OP)

  • * Former Staff
  • Posts: 490
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #11 on: June 14, 2010, 10:24:29 am »
how about 6x8?
It's possible, you'd have to recompile your own kernel though ;)

wy_scorpio

  • *
  • Posts: 368
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #12 on: June 14, 2010, 11:22:28 am »
how to compile zimage?

santino

  • Guest
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #13 on: June 14, 2010, 11:42:20 am »
I think you just overread it? :)
Quote
# Ran make ARCH=mips a320_defconfig ; make ARCH=mips menuconfig ; make ARCH=mips zImage

Meneer Jansen

  • **
  • Posts: 511
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #14 on: June 14, 2010, 12:21:55 pm »
Thank you very much. Now I can finally read what's going on!
Finally got me a new Dingoo after I Kentucky ~~::fried::~~ the other one. Yippee! [edit] And lost it!

xdpirate (OP)

  • * Former Staff
  • Posts: 490
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #15 on: June 14, 2010, 01:12:59 pm »
how to compile zimage?

After configuring through menuconfig, do:
Code: [Select]
make ARCH=mips zImage

remax

  • Guest
Re: Kernel with 8x8 terminal font, RTC and poweroff
« Reply #16 on: June 15, 2010, 03:20:07 pm »
Are you really sure that your kernel have RTC activated? cause hwclock don't work on my dingoo on your kernel whereas it works well on bkc_a320's kernel...