Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Khepri

Pages: [1] 2
1
Debian / How To Reformat Md ?
« on: July 24, 2009, 05:20:18 am »
I need to reformat my MD so that I can install pdaXrom. The current filesystem is ext3 which I had to use for Debian.

Debian started to get jerky and break down, but it's still functional (console only).

2
Debian / Socket Bluetooth Cf Card Not Working (surprise!)
« on: August 04, 2008, 03:23:51 pm »
Just reporting in that I got it to work.

It was an issue with HALd not loading correctly at boot because it hadn't loaded dbus first.
I also had to install the passkey-agent and run the process in the background while binding the devices.

Then I did:

hciattach /dev/ttyS4 socket
hciconfig hci0 up
rfcomm connect rfcomm0


I had so many different problems during setting this up that if I can gather some energy I will write a thorough tutorial on it.

3
Debian / Socket Bluetooth Cf Card Not Working (surprise!)
« on: August 03, 2008, 07:49:28 am »
I am stuck again.

I execute "rfcomm connect 0 <bdaddr>".
The phone asks if I want to bond with the Z, I say Yes.
I enter the same pin code on the phone that I have in /etc/bluetooth/hcid.conf
The phone says "Verifying PIN... Please Wait".

A couple seconds pass, the connection fails and Z says:

Can't connect RFCOMM socket: Operation now in progress

Why!?

4
Debian / Socket Bluetooth Cf Card Not Working (surprise!)
« on: August 01, 2008, 06:09:03 am »
Rebooted and serial_cs drivers were loaded for the Socket BT card.

I'm not used to rebooting, I run a freakin' Linux after all!

5
Debian / Socket Bluetooth Cf Card Not Working (surprise!)
« on: August 01, 2008, 04:06:48 am »
Installed bluez etc.  Drivers won't load.


dmesg:

Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8



and when I take the card out and reinsert it:

pccard: card ejected from slot 1
pccard: PCMCIA card inserted into slot 1
pcmcia: registering new device pcmcia1.0



Tried playing around with hciattach and setserial, with no success.

Is this an issue with the kernel? I read about a bug (here and elsewhere) in 2.6 kernels that prevents some Socket BT cards from working, but I'm not really up to configuring a kernel for my Z from scratch, not knowing every relevant switch I should temper with in the config.

Any ideas?


Here's some output:

Zaurus:~# hciattach /dev/ttyS4 socket
Can't get port settings: Input/output error
Can't initialize device: Illegal seek

6
Debian / Can't Install Debian.
« on: July 31, 2008, 02:50:43 pm »
OKAY!

I got it installed eventually. First the problem in Sharp bootloader was (I think. Can't read Japanese.) that my AC adapter wasn't plugged in so it refused to flash.

I don't know which of the filename was the correct one for the kernel to be flashed from, but I made copies with different names and this time it ran through.

Thanks guys for help. From here on it starts to get interesting!

7
Debian / Can't Install Debian.
« on: July 31, 2008, 01:37:12 pm »
Quote from: scottlfa
Only one SD card?

Ok

From PdaXrom copy the rootfs to the hda (make sure to have it partitioned ext3 and swap)
Uncompress the rootfs there.
Partiton the SD card into one fat16 partiton, 512 mb or smaller.  Leave no other partitions on the card.
Edit the /etc/fstab to reflect the /dev/hda as root.
Copy the sharp kernel files provided by 2or0 to the SD.
Flash the Z through the sharp bootloader.
Reboot

I think I've done exactly that (except edited fstab), but it seems like the Japanese menu doesn't recognize the SD card to contain anything it could use. I haven't partitioned the SD but it came with a digital camera and I've used it to install u-boot/pdaXrom and do NAND restores, I guess it should be fine as it is?

One thing though, the SD card is 1GB. Could this pose a problem?

8
Debian / Can't Install Debian.
« on: July 31, 2008, 01:06:11 pm »
Quote from: scottlfa
SD can be used, one partition and under 512 mb partition.  Thats how I have used it with uboot.

I'm installing on the internal HDD *from* an SD but I'm stuck with installing the kernel, I really don't know what to do. The rootfs is installed on the correctly partitioned drive, I just don't know what to do next. I did a NAND restore again and now I get the Japanese menu from holding OK while plugging power in. Any help appreciated.....


I tried peddling with it, with no success. Tried flashing the kernel like described here:


I. Get the latest yonggun kernel here: http://yonggun.tistory.com/68 (under "For Sharp Bootloader"), rename the kernel image to "zImage.bin", put it together with this at the root level of a CF/SD. Remove the ".txt" file extension before use.
updater.sh (for C3000/3100/3200) or this updater.sh (for C1000)

II. Reboot the machine into the normal Flash Menu (press [OK] before powering up/rebooting)

III. In the Japanese menu, choose "4", then choose the media, then choose "Y" to confirm.



All I get is some Japanese error(?) message with an OK button. I have the files in the root of the SD, tried renaming zImage-debian.bin.hda1 to zImage-debian.bin and zImage.bin, without any luck.

9
Debian / Can't Install Debian.
« on: July 31, 2008, 12:13:21 pm »
Quote from: scottlfa
fdisk /dev/hda for use with debian, yes.



Use 2or0,s sharp bootloader kernel its far easier to flash, put the files on a cf card and flash the kernel.  This way u-boot's never used.

OK one more thing; From where do I flash the kernel? Do I have to use a CF card (I don't have one)?

10
Debian / Can't Install Debian.
« on: July 31, 2008, 11:42:59 am »
Quote from: scottlfa
- Format and prepare /dev/hda from PdaX (All the debian prep steps before actually loading the root)
      Fdisk the /dev/hda into root and swap
      Untar rootfs to mounted /dev/hda
      Make necessary changes as detailed in the wiki.

I have done a NAND restore now and installed pdaXrom. Do I just unmount /dev/hda and then repartition it for Debian?

Quote
- Flash U-Boot or the new Sharp versions of 2or0's Kernel's.
- Reboot and finish config.

Kernel installation procedure is something I don't understand either. Do I go to the Japanese menu, take the 4th choice and then SD, or...?

If after the re-partitioning I want to get rid of u-boot, how should I go on about it and continue installing Debian?

Thanks, and sorry for my incompetence.

11
Debian / Can't Install Debian.
« on: July 31, 2008, 10:25:00 am »
Quote from: 2or0
The kernel is based on sharp boot loader but not u-boot.

Right... Do I need to do a NAND-restore or what to re-install the Sharp bootloader?

After that, what am I supposed to do here: "Flash it. It takes a long time to untar the rootfs"

Sorry, I don't have a clue.

12
Debian / Can't Install Debian.
« on: July 31, 2008, 09:28:26 am »
With all due respect, none of the tutorials I've tried have made it clear enough for me how exactly the installation procedure should go.

- I have u-boot installed.
- I have yonggun's Andromeda rootfs, with files: zImage-debian.bin, modules-debian.tgz, rootfs-debian.tgz, gnu-tar, updater.sh.
- I have (as far as I know) partitioned the MD to have a root and swap partition.

pdaXrom emergency system gives segmentation fault when I run fdisk /dev/hda, so I had to boot into pdaXrom to repartition the drive. Needless to say, my pdaXrom is gone.

What exactly am I supposed to do with all this?

Any help greatly appreciated...

13
I don't have a CF Wi-Fi card yet. I bought a USB dongle thinking that would do the trick until I get a card (hard to acquire where I live, and I don't have a credit card to shop on eBay), but have since read that the USB port on Z only gives amout 200mA current and that USB Wi-Fi dongles don't get enough power from it.

I also don't know which would be the best card. I see Ambicom being pretty popular, on the other hand I also see a lot of people complaining about performance/other issues with their Ambicom cards.

Low power consumption is important, but so is range I guess... I'll be primarily using bluetooth for connecting though, Wi-Fi would be mostly for home use and random playing around.

Pray tell me, what does EABI stand for? I continuously bump to the acronym in context of Debian for Z, but haven't figured out what it stands for.

14
Quote from: scottlfa
If all this fails, pull all the power, press ok and hold while putting power back into the Z.  It will boot too the console eventually.

Wow, THAT worked! Many thanks!

I now have pdaXrom running.

Thanks also for the tip regarding usage of CF cards in flashing.

 

15
*sigh*

Just to confirm, I went through the procedure two more times.

After NAND restore, I succesfully flashed u-boot, but when it asks if I want to install emergency system or pdaXrom and I say "y" and press enter, the system shuts down.

Contrary to what these instructions suggest...

7. You'll be asked whether to proceed to install pdaXrom or the emergency system. Press "y" and then [ENTER].
8. At the bash command prompt ("#"), change to the directory on your CF or SD card where you stored the files in step 2


...I never get the command prompt. Zaurus dies after answering yes to that last question and then I have to go through the whole procedure again.

Any help appreciated.

Pages: [1] 2