Please remember to add a category to the bottom of each page that you create.
See categories help for further details, but most will probably be [[Category:HTC ModelName]].

HTC Blue Angel/Kernel

From XDA-Developers
< HTC Blue Angel(Redirected from BlueangelKernel)
Jump to: navigation, search

BlueAngel Kernel

How to boot the Linux kernel on HTC Blue Angel (Use at your own risk). Currently we were able to start XFBdev Xserver and mount a gpe familiar rootfs via nfs. Also the touchscreen can be activated via himalaya_ts.ko module. The GSM unit was reachable with AT Commands at /dev/ttyS0.
MAKE A BACKUP!!! Use X-Backup and backup "All Data". See the options bar on bottom to change the storage location. Although some applications and PPC 2003 loose some settings, you should still be able to get back your previous state. Never use a backup file which reported a error during creation.
After booting Linux you need a cold reset. All your data will be lost and your Blueangel will reinstall.
You need:

Linux Kernel

2.6.12-hh2 Kernel with lots of progress, thanks to martin
http://wiki.xda-developers.com/uploads/zImage-2.6.12-hh2
Get current sources with:
cvs -z3 -d:pserver:[email protected]:/cvsroot/xanadux co -ko -r K2-6-12-hh2-xda0-ba0 linux-2.6-xda

Initrd


http://wiki.xda-developers.com/uploads/initrd-2.6.12-hh2.gz Broken link: Can somebody upload this file??
Original location: http://handhelds.org/moin/moin.cgi/BlueAngel?action=AttachFile&do=get&target=initrd-2.6.12-hh2.gz
Also you can use the Himalaya initrd.
Add the following lines before echo "Executing /sbin/init..." in /linuxrc ln -s /dev/tts/0 /dev/ttyS0 ln -s /dev/tts/1 /dev/ttyS1 ln -s /dev/tts/2 /dev/ttyS2
Change in /etc/inittab T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100 to T0:23:respawn:/sbin/getty -L ttyS2 115200 vt100

Haret


Modified to initialize the standard UART
http://wiki.xda-developers.com/uploads/haret.exe
Diff against CVS is here: http://wiki.xda-developers.com/uploads/haret.diff

Startup File


Save this as your startup.txt into the directory where haret went.

set KERNEL "zImage-2.6.12-hh2" set MTYPE 766 set INITRD "initrd-2.6.12-hh2.gz" set CMDLINE "root=/dev/ram0 init=/linuxrc ramdisk_size=14336 keepinitrd console=ttyS2,115200 console=tty0" bootlinux

booting done


Currently when the service Portmap is started, the kernel is fully booted. You will not get a logon prompt on the LCD. But you can login through USB (and propably also through Serial??)

Serial Cable


Login via terminal as root, password is rootme
Copy the downloaded items in a common directory and start haret.exe

USB Cable

USB will be started automatically. But a reconnect after loading the kernel is not necessary anymore (since 2.6.12-hh2). Then you will be able to reach the BA via ssh at 192.168.0.206.
Login via terminal as root, password is rootme

Links

Corresponding page on handhelds.org: http://handhelds.org/moin/moin.cgi/BlueAngel


Back to the main page or Back to BlueAngel Research