OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> Sd Support!, For OpenBSD Zaurii
mathemajikian
post Mar 18 2007, 06:07 PM
Post #1





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



And here it is! laugh.gif The moment we've all been waiting for:

$ dmesg
OpenBSD 4.1-current

pxammc0 at pxaip0: MMC/SD/SDIO controller
sdmmc0 at pxammc0
scsibus0 at sdmmc0: 2 targets
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd0: 14MB, 14 cyl, 64 head, 32 sec, 512 bytes/sec, 29120 sec total


Now OpenBSD based Z's can utilize the on board sd slot!
Go to the top of the page
 
+Quote Post
albertr
post Mar 18 2007, 06:40 PM
Post #2





Group: Members
Posts: 535
Joined: 7-March 04
Member No.: 2,195



Great news! Is there any advancement on bluetooth front?
-albertr
Go to the top of the page
 
+Quote Post
HoloVector
post Mar 18 2007, 07:59 PM
Post #3





Group: Members
Posts: 533
Joined: 22-March 06
From: Winnipeg, Canada
Member No.: 9,420



That's great news. Does this mean that the C1000 will be a supported model now? I would love to try this on mine using my 4GB SD card.
Go to the top of the page
 
+Quote Post
mathemajikian
post Mar 19 2007, 03:24 AM
Post #4





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(HoloVector @ Mar 19 2007, 03:59 AM)
That's great news.  Does this mean that the C1000 will be a supported model now?  I would love to try this on mine using my 4GB SD card.
*


I'm going to see about running OpenBSD off an SD card. I'll post setup instructions if it works. Might take me a little while to complete since I'm undergoing numerous college courses at the moment.
Go to the top of the page
 
+Quote Post
Speedy
post Mar 19 2007, 03:40 AM
Post #5





Group: Members
Posts: 13
Joined: 11-August 06
Member No.: 10,744



Full (SD Booting, CF Extension Cards) OpenBSD support for C1000 will be great! Then my whole computers runs on Openbsd smile.gif

What were the steps to do this?
Booting Openbsd from CF Card and try to take the installdrive sd0 (SD Card)? Or is it much complex?

greets
Andi
Go to the top of the page
 
+Quote Post
mathemajikian
post Mar 19 2007, 04:23 AM
Post #6





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(Speedy @ Mar 19 2007, 11:40 AM)
Full (SD Booting, CF Extension Cards) OpenBSD support for C1000 will be great! Then my whole computers runs on Openbsd smile.gif

What were the steps to do this?
Booting Openbsd from CF Card and try to take the installdrive sd0 (SD Card)? Or is it much complex?

greets
Andi


I think all you'll need to do is create an image of your current Z's partitions onto a SD card. (You'll also have to edit /etc/fstab) Then recompile and install a kernel with the following changes:
config bsd root on wd0a to --> config bsd root on sd0a
Make sure and install the new kernel to the root partition of your current CF install and SD image. Don't delete the old kernel because if this doesn't work then you'll need it to reboot your system. So before installing the new kernel cp /bsd /bsd.bak and then after installing the new kernel rename the sd-root kernel as sdbsd, ie mv /bsd /sdbsd. Boot this kernel instead of the normal bsd kernel, ie at the boot prompt type:

boot> boot wd0a:/sdbsd

Note I have not tried this yet; hence, if you ruin your install don't blame me. wink.gif However, I'm pretty sure this will work.
Go to the top of the page
 
+Quote Post
danboid
post Mar 19 2007, 04:28 AM
Post #7





Group: Members
Posts: 881
Joined: 26-December 05
From: England
Member No.: 8,789



Great news!

So, apart from pxa270 SRAM support (video accel) which I would presume isn't done yet, is their anything else missing from the Zaurus OpenBSD kernel that a sharp rom/pdax user may expect to work? I'm not bothered about bluetooth personally.

Does it have working support for USB host on the cxxxx?
Go to the top of the page
 
+Quote Post
mathemajikian
post Mar 19 2007, 04:42 AM
Post #8





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(danboid @ Mar 19 2007, 12:28 PM)
Does it have working support for USB host on the cxxxx?
*


Enable usbf(4) and cdcef(4) on Zaurus: http://www.openbsd.org/plus41.html

QUOTE
USBF(4)                  OpenBSD Programmer's Manual                  USBF(4)

NAME
    usbf - introduction to Universal Serial Bus function support

SYNOPSIS
    usbf* at pxaudc?    # zaurus
    cdcef* at usbf?

DESCRIPTION
    OpenBSD provides machine-independent bus support and drivers for Univer-
    sal Serial Bus (USB) functions, making it possible in principle for ma-
    chines running OpenBSD to act as USB device to a USB host.

    The OpenBSD usbf driver has three layers: the controller, the logical de-
    vice, and the function layer.  The controller attaches to a physical bus.
    The logical device attaches to the controller and the function attaches
    to the logical device.

    Function drivers implement the characteristics of a particular USB device
    class that the USB host will see when the device is connected to the bus.


Bluetooth devices work, but we are still lacking a communication protocol. It's in the works. NAND flash memory should be coming soon as can be seen from:
flash0 at pxaip0: Samsung K9F1G08U0A 128Mx8 3.3V
Go to the top of the page
 
+Quote Post
jpmatrix
post Mar 19 2007, 11:20 AM
Post #9





Group: Members
Posts: 1,014
Joined: 15-February 05
From: France
Member No.: 6,477



and about SDIO,
does it open us a way to true SDIO controllers like SDIO GPS or SDIO WLAN cards ???
Go to the top of the page
 
+Quote Post
DaemonsGR
post Mar 20 2007, 04:01 AM
Post #10





Group: Members
Posts: 237
Joined: 28-December 05
Member No.: 8,801



Great!!! Have you test any 4g SD?!?

Thnx
Go to the top of the page
 
+Quote Post
mathemajikian
post Mar 20 2007, 05:00 AM
Post #11





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(DaemonsGR @ Mar 20 2007, 12:01 PM)
Great!!! Have you test any 4g SD?!?

Thnx
*


I only have a 2GB card to test, but I don't see any reason why you couldn't use a 4GB SD card. (This isn't a Linux ROM tongue.gif )
Go to the top of the page
 
+Quote Post
cal
post Mar 20 2007, 05:24 AM
Post #12





Group: Members
Posts: 112
Joined: 29-August 05
Member No.: 7,981



i just gave 4.1 a whirl on my C1000, and install fails. The SD card isn't found and dmesg doesn't show
CODE
pxammc0 at pxaip0: MMC/SD/SDIO controller
. I have been running obsd on a CF card, and I was looking forward to getting rid of my usb ethernet adapter and switching to a CF wifi card...
Go to the top of the page
 
+Quote Post
mathemajikian
post Mar 20 2007, 05:28 AM
Post #13





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(mathemajikian @ Mar 20 2007, 01:00 PM)
QUOTE(DaemonsGR @ Mar 20 2007, 12:01 PM)
Great!!! Have you test any 4g SD?!?

Thnx
*


I only have a 2GB card to test, but I don't see any reason why you couldn't use a 4GB SD card. (This isn't a Linux ROM tongue.gif )
*



I just spoke to Uwe concerning this and here's what he had to say:

QUOTE
I have used a 4GB card in my laptop with sdhc(4), but not yet on the Zaurus.
The controller should not make a difference though.

The main difference, afaik, between small and large SD memory cards is that
they encode the block size in the card information structure differently.

Hence, there shouldn't be any issues in utilizing larger capacity SD cards.
Go to the top of the page
 
+Quote Post
mathemajikian
post Mar 20 2007, 05:51 AM
Post #14





Group: Members
Posts: 301
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(cal @ Mar 20 2007, 01:24 PM)
i just gave 4.1 a whirl on my C1000, and install fails.  The SD card isn't found and dmesg doesn't show
CODE
pxammc0 at pxaip0: MMC/SD/SDIO controller
.  I have been running obsd on a CF card, and I was looking forward to getting rid of my usb ethernet adapter and switching to a CF wifi card...
*


How did you install? If you just went and downloaded 4.1-release sources then this is understandable. The SD driver support was only added two days ago. To gain SD support your going to have to update your 4.1-release system via cvs to 4.1-current. Follow the cvs update instructions found on this page to update your Z to 4.1-current: Zaurus updating

Furthermore, trying to run/install OpenBSD off/on an SD card will require a little ingenuity. (See my earlier post) This is mainly due to the limits of the current bootloader. Quoting Uwe once again
QUOTE
The current standalone boot program doesn't know about "sd" or "wd" disks.  All it has is "hd" devices, which map (in a non-intuitive way) to the linux devices /dev/hda, /dev/hdc, etc.
I'm going to try and get BSD running off an SD card later this week. I'll post my results.
Go to the top of the page
 
+Quote Post
cal
post Mar 20 2007, 06:01 AM
Post #15





Group: Members
Posts: 112
Joined: 29-August 05
Member No.: 7,981



Thanks I was taking it one step at a time. I just wanted to see the dmesg for the first time. I might try the CVS version later, thanks for pointing that out.
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
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: 19th March 2019 - 07:22 AM