OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

15 Pages V  < 1 2 3 4 5 > »   
Reply to this topicStart new topic
> How To Install Debian On Your Zaurus (obsolete), ** pls refer to the pinned threads instead **
ZDevil
post Oct 28 2007, 12:06 AM
Post #31





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Thanks to scottlfa for explaining to me a cleaner way to extract the EABI rootfs. Will add this bit to the guide.

About the EABI installation method:
I also think it will make life much easier if I include all the necessary files (keymap, hardware clock rules, touchscreen and X), plus one single script to set up all these in the "1st boot" section.

So version 0.2 will be up soon.
Go to the top of the page
 
+Quote Post
Chero
post Oct 28 2007, 12:09 AM
Post #32





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(scottlfa @ Oct 28 2007, 03:55 AM) *
Very well covered thanks.

Q20: I am using a C1x00, and I want to use kernel 2.6.22.9 yonggun with uboot. How can I install Debian EABI on SD?

Sent a PM ZDevil


Untar to SD (/dev/mmcblk0p1) instead of microdrive, the rest is the same.

To boot : press and hold "1" while booting and it will boot from the SD. (that's the beauty of uboot) (I think it is "1" for the SD, if not try "2" "3" or "4")

Chero.
Go to the top of the page
 
+Quote Post
Chero
post Oct 28 2007, 12:12 AM
Post #33





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(Chero @ Oct 28 2007, 10:09 AM) *
QUOTE(scottlfa @ Oct 28 2007, 03:55 AM) *
Very well covered thanks.

Q20: I am using a C1x00, and I want to use kernel 2.6.22.9 yonggun with uboot. How can I install Debian EABI on SD?

Sent a PM ZDevil


Untar to SD (/dev/mmcblk0p1) instead of microdrive, the rest is the same.

To boot : press and hold "1" while booting and it will boot from the SD. (that's the beauty of uboot) (I think it is "1" for the SD, if not try "2" "3" or "4")

Chero.


Just remember : once uboot is installed the only way to get back to the Angstrom or poky kernels is by doing a NAND restore first (which is quite a long way).
I'd first setup an SD with EABI and try it with the Angstrom 2.6.21 kernel on a C1000.
Go to the top of the page
 
+Quote Post
ZDevil
post Oct 28 2007, 12:12 AM
Post #34





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



I have one concern:

The EABI rootfs has got something essential missing, such as touchscreen and X stuff. I am thinking of including some library and binary from some Angstrom packages in one single tarball to be installed in one go.
Would it be ok if i simply copy out the files?
Should I add some notice or reference to Angstrom? (oh yeah, the rules!)

Thanks!
Go to the top of the page
 
+Quote Post
Chero
post Oct 28 2007, 12:23 AM
Post #35





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(ZDevil @ Oct 28 2007, 10:12 AM) *
I have one concern:

The EABI rootfs has got something essential missing, such as touchscreen and X stuff. I am thinking of including some library and binary from some Angstrom packages in one single tarball to be installed in one go.
Would it be ok if i simply copy out the files?
Should I add some notice or reference to Angstrom? (oh yeah, the rules!)

Thanks!


I wouldn't worry about that. I don't think they want you to update the wiki with a howto on debian eabi ...
tongue.gif ph34r.gif tongue.gif rolleyes.gif (my son wants to see some smilies in this post ...)
Go to the top of the page
 
+Quote Post
ZDevil
post Oct 28 2007, 12:29 AM
Post #36





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Thanks!
(Goedemorgen, little Chero!)
smile.gif laugh.gif biggrin.gif tongue.gif wink.gif happy.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Oct 28 2007, 12:33 AM
Post #37





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Ok, so here is the planned one-stop hardware cum X initial setup thingie.

Files to include:
libts-1.0.so.0.0.0 (Angstrom)
ts.conf (Angstrom)
ts_calibrate (Angstrom)
Xfbedev (Angstrom)
setfl (pdaX)
keymap.map (from the googlepage guide)
hwclock.rules (from titchy)


And here is my script. Please comment:
(The script is supposed to run after extracting the tarball containing the above files to the right locations during installation and before 1st boot)
CODE
#!/bin/sh
## First set up the hardware on the Zaurus
echo "Now setting up the hardware ..." &&

# keymap
echo "loadkeys /etc/keymap.map" >> /etc/rc.local &&

# localhost
echo "Zaurus" > /etc/hostname &&
echo -ne "127.0.0.1\tlocalhost.localdomain localhost Zaurus\n" >> /etc/hosts &&

# touchscreen
ln -s /usr/local/lib/libts-1.0.so.0.0.0 /usr/local/lib/libts-1.0.so.0 &&
echo "/usr/local/lib" >> /etc/ld.so.conf &&
ldconfig &&
cat /etc/ts.conf | sed 's/^# module_raw corgi/module_raw corgi/' > /etc/ts.conf &&
echo -ne "TSLIB_TSDEVICE=/dev/input/ts0\nTSLIB_CONFFILE=/etc/ts.conf\nexport TELIB_TSDEVICE TSLIB_TSCONFFILE\n" >> $HOME/.profile
echo "Done."
echo ""

## Next set up X
echo "Now setting up X ..." &&
chmod 4755 /usr/local/bin/Xfbdev &&
echo -ne "xrandr -o right\n" >> ~/.xsession &&
touch $HOME/.xserverrc &&
chmod 755 $HOME/.xserverrc &&
echo -ne "#!/bin/sh\nexec /usr/local/bin/Xfbdev -dpi 100 -nolisten tcp -fp /usr/share/fonts/X11/misc" > $HOME/.xserverrc
echo "Done."
echo ""

Any error? Anything to add? Does it look good?

This post has been edited by ZDevil: Oct 28 2007, 12:42 AM
Go to the top of the page
 
+Quote Post
2or0
post Oct 28 2007, 12:42 AM
Post #38





Group: Members
Posts: 217
Joined: 6-June 04
Member No.: 3,590



QUOTE(ZDevil @ Oct 28 2007, 12:12 AM) *
I have one concern:

The EABI rootfs has got something essential missing, such as touchscreen and X stuff. I am thinking of including some library and binary from some Angstrom packages in one single tarball to be installed in one go.
Would it be ok if i simply copy out the files?
Should I add some notice or reference to Angstrom? (oh yeah, the rules!)

Thanks!


I am making the debian packages from angstrom binary. They include X setting, tslib-related stuff, zaurusd, mplayer, gpe-conf, keymaps, and so on. I think this way is easy and simple.
Go to the top of the page
 
+Quote Post
ZDevil
post Oct 28 2007, 12:49 AM
Post #39





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Great. zaurusd and gpe-conf are great additions.
So could you package it up and upload here?
Also do you think it's a good idea to run the script as suggested? I wonder if i should add something to set up zaurusd there.
Thanks!
Go to the top of the page
 
+Quote Post
2or0
post Oct 28 2007, 12:59 AM
Post #40





Group: Members
Posts: 217
Joined: 6-June 04
Member No.: 3,590



I will upload the packages soon. Also they have their own script for setting up. I think we need the script to finalize set-up after installing all packages.

Thanks for your efforts. tongue.gif
Go to the top of the page
 
+Quote Post
Chero
post Oct 28 2007, 02:09 AM
Post #41





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



Ready for testing ...

I've got an eabi kernel loaded, the rootfs is still in armel-root-fs, I added the correct modules in it.
As soon as the files are up, I'm ready to test ... (boot emergency - move everything to / - and reboot)
(just to make sure I will be able to type the commands I added the titchy keymap but it won't be loaded automatically - only as a kind of a backup)

Chero.
(little Chero (8) likes "Need for Speed" more than this forum ...) sad.gif
Go to the top of the page
 
+Quote Post
ZDevil
post Oct 28 2007, 02:39 AM
Post #42





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Chero, test this if you can't wait (actually because I can't wait to see your result ... biggrin.gif ).

There are three little extra steps involved:
1. Add these extra files:
-- Download these essential utilities to the SD:
http://kfreebsd-gnu.debian.net/debian/pool...bs-65_armel.deb
http://kfreebsd-gnu.debian.net/debian/pool...bs-65_armel.deb
http://kfreebsd-gnu.debian.net/debian/pool...2-8.1_armel.deb
http://kfreebsd-gnu.debian.net/debian/pool...9p6-1_armel.deb

-- Put these attachments to the SD too:
Attached File  zaurus_hardware_eabi_0.3.tar.gz ( 556.01K ) Number of downloads: 123
(Fixed on 071028: 1) Add tslib modules; 2) Fix tslib file)
Attached File  afterinstall_0.3.sh.txt ( 1.09K ) Number of downloads: 118
(Fixed on 071029: 1) Correct two typos; 2) Added USB device module loading script; 3) Fix privilege of .xsession)

2. Follow the steps as described, and after extracting the rootfs and the kernel modules, extract the zaurus-hardware-eabi thingie also.

3. After the first login:
-- First install those few armel packages.
-- Then run the afterinstall.sh (remove the .txt extension).

This post has been edited by ZDevil: Oct 28 2007, 10:32 PM
Go to the top of the page
 
+Quote Post
Chero
post Oct 28 2007, 03:18 AM
Post #43





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(ZDevil @ Oct 28 2007, 11:39 AM) *
Chero, test this if you can't wait (actually because I can't wait to see your result ... biggrin.gif ).

There are three little extra steps involved:
1. Add these extra files:
-- Download these essential utilities to the SD:
http://armel-debs.applieddata.net/debian/p...bs-65_armel.deb
http://armel-debs.applieddata.net/debian/p...bs-65_armel.deb
http://kfreebsd-gnu.debian.net/debian/pool...2-8.1_armel.deb
http://kfreebsd-gnu.debian.net/debian/pool...9p6-1_armel.deb
-- Put these attachments to the SD too:
[attachment=4990:zaurus_h..._0.1.tar.gz] [attachment=4991:afterinstall.sh.txt]

2. Follow the steps as described, and after extracting the rootfs and the kernel modules, extract the zaurus-hardware-eabi thingie also.

3. After the first login:
-- First install those few armel packages.
-- Then run the afterinstall.sh (remove the .txt extension).


the first two links are down, but they are on kfreebsd as well - first have to eat now - will continue this afternoon
Go to the top of the page
 
+Quote Post
ZDevil
post Oct 28 2007, 03:20 AM
Post #44





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Sorry, corrected in Post #42.
Just finished mine.
Eet Smakelijk!
Go to the top of the page
 
+Quote Post
Chero
post Oct 28 2007, 04:36 AM
Post #45





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



All files on the system - untarred the extra tarball - booted into emergency - deleting titchy-system - then will move the armel-root-fs to /mnt/cf and reboot ...

Fingers crossed ...

10 - 9 - 8 - ...
Go to the top of the page
 
+Quote Post

15 Pages V  < 1 2 3 4 5 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2014 - 05:04 AM