Page 9 of 19 FirstFirst ... 5678910111213 ... LastLast
Results 81 to 90 of 186

Thread: G-Rex users - small request

  1. #81
    VIP
    Amibayer!
    d0pefish's Avatar
    Join Date
    Aug 2009
    Country
    England
    Region:
    Newcastle-upon-Tyne
    Age
    32
    Posts
    677
    Feedback
    31 (100%)

    Default

    You've done it!

    Cold boot, no startup-sequence, flawless boot.
    Attached log shows boot to bash prompt and ping test

    Well done!
    Attached Files Attached Files

  2. #82
    Amibayer! strim's Avatar
    Join Date
    May 2010
    Country
    Poland
    Region:
    Mazowieckie
    Age
    34
    Posts
    334
    Feedback
    11 (100%)

    Default

    Quote Originally Posted by d0pefish View Post
    Cold boot, no startup-sequence, flawless boot.
    Attached log shows boot to bash prompt and ping test
    Excellent! I'll clean up and commit the driver to NetBSD CVS server. Then I'll post the GENERIC kernel for testing.

    Naturally, work on other slots will be continued.
    NetBSD: "Progress on your system is closer than it appears."

  3. #83
    Amibayer! strim's Avatar
    Join Date
    May 2010
    Country
    Poland
    Region:
    Mazowieckie
    Age
    34
    Posts
    334
    Feedback
    11 (100%)

    Default

    As promised, the source code was committed. You can read it through web interface or by checking out the current sources from CVS server.

    The src/sys/arch/amiga/ is our directory of interest.

    The main p5pb driver consists of:
    pci/p5pb.c
    pci/p5pbvar.h
    pci/p5pbreg.h

    There's also auxiliary driver p5membar which handles 8512/101 autoconfig entries, and remember their locations and sizes for p5pb:
    pci/p5membar.c
    pci/p5membarvar.h

    Device independent, but amiga-specific PCI code, which is referenced in these drivers:
    pci/pci_machdep.c
    include/pci_machdep.h

    The p5pb parent driver, p5bus might also be interesting:
    dev/p5bus.c
    dev/p5busvar.h

    There are also man pages for p5pb and p5membar, but the web interface to man did not get refreshed yet after my last commit, so they are a bit outdated now.
    NetBSD: "Progress on your system is closer than it appears."

  4. #84
    VIP
    Amibayer!
    d0pefish's Avatar
    Join Date
    Aug 2009
    Country
    England
    Region:
    Newcastle-upon-Tyne
    Age
    32
    Posts
    677
    Feedback
    31 (100%)

    Default

    Hi strim

    Nice one mate, this is great
    Really interesting looking through the source - I don't know anything about how NetBSD drivers are written but it's fascinating to see.

    I'm going to try and set up a VirtualBox NetBSD/i386 machine on my PC so I can try and checkout and cross-compile the source.

    Last night, I was using mpg123 to stream MP3s from AmigaRemix.com, and it played through the Paula flawlessly! I had to use the "-2" option to get the right samplerate otherwise it sounded like half the speed.

    Offtopic, I read that Paula support on NetBSD supports 14bit mode. Do you know anything about enabling it - is it already enabled? Would you also know if it's possible to increase the samplerate?

    I'd like to try and compile FM801 support into a kernel and put the sound card in the top slot, that would be nice to try.

    Thanks for your great work again mate

  5. #85
    Amibayer! strim's Avatar
    Join Date
    May 2010
    Country
    Poland
    Region:
    Mazowieckie
    Age
    34
    Posts
    334
    Feedback
    11 (100%)

    Default

    Quote Originally Posted by d0pefish View Post
    I'm going to try and set up a VirtualBox NetBSD/i386 machine on my PC so I can try and checkout and cross-compile the source.
    See this chapter in the NetBSD guide.

    Last night, I was using mpg123 to stream MP3s from AmigaRemix.com, and it played through the Paula flawlessly! I had to use the "-2" option to get the right samplerate otherwise it sounded like half the speed.

    Offtopic, I read that Paula support on NetBSD supports 14bit mode. Do you know anything about enabling it - is it already enabled?
    Yes, it is enabled by default if you're playing 16-bit data. Unfortunately, there's no "tuning" option, and it's a common knowledge that 14-bit mode needs to be tuned differently on every Paula.

    Would you also know if it's possible to increase the samplerate?
    Hmmm... It might be possible if you boot with the -A loadbsd option. Otherwise sample rate is limited, because it is tied to the display DMA.

    I'd like to try and compile FM801 support into a kernel and put the sound card in the top slot, that would be nice to try.
    It won't work now. We have no DMA yet. There's a much better chance that 3Dfx driver will at least try displaying something .
    NetBSD: "Progress on your system is closer than it appears."

  6. #86
    VIP
    Amibayer!
    d0pefish's Avatar
    Join Date
    Aug 2009
    Country
    England
    Region:
    Newcastle-upon-Tyne
    Age
    32
    Posts
    677
    Feedback
    31 (100%)

    Default

    Quote Originally Posted by strim View Post
    See this chapter in the NetBSD guide.
    Thanks

    Yes, it is enabled by default if you're playing 16-bit data. Unfortunately, there's no "tuning" option, and it's a common knowledge that 14-bit mode needs to be tuned differently on every Paula.
    Cool. Ahhh yes, the "Cybersound" 14bit_Calibration file. I used to spend hours tuning that, I'd still hear the sine tone in my head long after I'd turned the machine off. Made a huge difference though.

    Hmmm... It might be possible if you boot with the -A loadbsd option. Otherwise sample rate is limited, because it is tied to the display DMA.
    Sounds similar to the CyberGraphX option to open a high-res screen to force the DMA rate up for increased samplerate. I'll try that, thanks

    It won't work now. We have no DMA yet. There's a much better chance that 3Dfx driver will at least try displaying something .
    Ah sorry, I forgot it needed DMA. I'll throw the Voodoo in there tonight and see what happens

    On that note ... I found a post by yourself on amiga.org about the Radeon driver containing startup code. Is it worth trying an older PCI Radeon in there if I can find one?

  7. #87
    Amibayer! strim's Avatar
    Join Date
    May 2010
    Country
    Poland
    Region:
    Mazowieckie
    Age
    34
    Posts
    334
    Feedback
    11 (100%)

    Default

    I'll throw the Voodoo in there tonight and see what happens
    You'll need to enable the voodoofb driver in kernel config and cross-compile it. It is not enabled in the GREXTEST kernel I've provided. I might look into that later .

    On that note ... I found a post by yourself on amiga.org about the Radeon driver containing startup code. Is it worth trying an older PCI Radeon in there if I can find one?
    Yes, if you can find a 5V Radeon. 3.3V cards won't work in G-REX. The driver works best with Radeons 7000 - 9250. I think that 9200 or 9250 is the best bet. Again, the kernel should be recompiled with radeonfb enabled.
    NetBSD: "Progress on your system is closer than it appears."

  8. #88
    Custom User Title Amibayer! ramborolf's Avatar
    Join Date
    Mar 2010
    Country
    Norway
    Region:
    Asdal
    Age
    40
    Posts
    218
    Feedback
    15 (100%)

    Default

    oh yeah!

    now i must setup some partitions for this..
    Attached Files Attached Files
    A500 - Stock | A600 - A604/IndiECS/Subway + ACA620 | A4000/Apollo060@66mhz / X-Surf100 + rapidRoad / Fastlane Z3 64mb + SCSI->CfIDE / Delfina Lite / PicassoIV

    don't forget to bring a towel.. :p

  9. #89
    VIP
    Amibayer!
    d0pefish's Avatar
    Join Date
    Aug 2009
    Country
    England
    Region:
    Newcastle-upon-Tyne
    Age
    32
    Posts
    677
    Feedback
    31 (100%)

    Default

    Glad to hear it's working for you too ramborolf

    I now have a build environment for the kernel, and have checked out netbsd-current from cvs.

    I've created a MYKERNEL config and added some voodoofb and radeonfb lines:
    Code:
    #genfb*		at pci?			# generic fb, CVPPC/BVPPC only
    ne*             at pci?			# NE2000 Ethernet
    voodoofb*	at pci?			# 3dfx Voodoo fb
    radeonfb*	at pci?			# ATi Radeon fb
    When I come to compile it, it fails at the linking stage:
    Code:
    i2c.o: In function `iic_open':
    i2c.c:(.text+0x240): undefined reference to `iic_cd'
    i2c.o: In function `iic_ioctl':
    i2c.c:(.text+0x6dc): undefined reference to `iic_cd'
    radeonfb.o: In function `radeonfb_init_palette':
    radeonfb.c:(.text+0x340e): undefined reference to `rasops_cmap'
    radeonfb.o: In function `radeonfb_erasecols':
    radeonfb.c:(.text+0x1028): undefined reference to `rasops_unpack_attr'
    radeonfb.o: In function `radeonfb_eraserows':
    radeonfb.c:(.text+0x10b6): undefined reference to `rasops_unpack_attr'
    radeonfb.o: In function `radeonfb_init_screen':
    radeonfb.c:(.text+0x319e): undefined reference to `wsfont_init'
    radeonfb.c:(.text+0x3208): undefined reference to `rasops_init'
    radeonfb.c:(.text+0x3236): undefined reference to `rasops_reconfig'
    radeonfb.o: In function `radeonfb_init_palette':
    radeonfb.c:(.text+0x33cc): undefined reference to `rasops_cmap'
    radeonfb.o: In function `radeonfb_attach':
    radeonfb.c:(.text+0x4f14): undefined reference to `rasops_unpack_attr'
    radeonfb.c:(.text+0x4f98): undefined reference to `wsdisplay_cnattach'
    radeonfb.c:(.text+0x4fcc): undefined reference to `wsemuldisplaydevprint'
    radeonfb.c:(.text+0x507c): undefined reference to `wsemuldisplaydevprint'
    radeonfb.o: In function `radeonfb_ioctl':
    radeonfb.c:(.text+0x52c2): undefined reference to `wsdisplayio_get_edid'
    radeonfb.c:(.text+0x5336): undefined reference to `wsdisplayio_busid_pci'
    voodoofb.o: In function `voodoofb_erasecols':
    voodoofb.c:(.text+0xe78): undefined reference to `rasops_unpack_attr'
    voodoofb.o: In function `voodoofb_eraserows':
    voodoofb.c:(.text+0xee6): undefined reference to `rasops_unpack_attr'
    voodoofb.o: In function `voodoofb_init_screen':
    voodoofb.c:(.text+0x1054): undefined reference to `rasops_init'
    voodoofb.c:(.text+0x107e): undefined reference to `rasops_reconfig'
    voodoofb.o: In function `voodoofb_ioctl':
    voodoofb.c:(.text+0x19d4): undefined reference to `wsdisplayio_busid_pci'
    voodoofb.o: In function `voodoofb_attach':
    voodoofb.c:(.text+0x1f74): undefined reference to `wsdisplay_cnattach'
    voodoofb.c:(.text+0x1fb0): undefined reference to `rasops_cmap'
    voodoofb.c:(.text+0x1ffa): undefined reference to `rasops_unpack_attr'
    voodoofb.c:(.text+0x2048): undefined reference to `wsemuldisplaydevprint'
    voodoofb.c:(.text+0x21ce): undefined reference to `rasops_cmap'
    voodoofb.c:(.text+0x224e): undefined reference to `wsemuldisplaydevprint'
    Is there something I'm missing - a dependency or option in my MYKERNEL? I'm not sure how to make the linker see the rasops library.

    Apologies, I'm really new to NetBSD and the way it's laid out. Am slowly learning.

  10. #90
    Amibayer! strim's Avatar
    Join Date
    May 2010
    Country
    Poland
    Region:
    Mazowieckie
    Age
    34
    Posts
    334
    Feedback
    11 (100%)

    Default

    Quote Originally Posted by d0pefish View Post
    Glad to hear it's working for you too ramborolf
    Actually, ramborolf, your hard disk was not detected! That's probably due to flaky FastATA probe. Please use the attached GENERIC kernel for installation, it has efa driver disabled and should be able to detect your disk.

    I've created a MYKERNEL config and added some voodoofb and radeonfb lines:
    Code:
    #genfb*		at pci?			# generic fb, CVPPC/BVPPC only
    ne*             at pci?			# NE2000 Ethernet
    voodoofb*	at pci?			# 3dfx Voodoo fb
    radeonfb*	at pci?			# ATi Radeon fb
    That looks good, but you also need to attach wsdisplay layer, which isn't compatible with grf+ite used by default. It might be easier if you copy a WSCONS config and modify it . For example see macppc's GENERIC kernel config.

    Is there something I'm missing - a dependency or option in my MYKERNEL? I'm not sure how to make the linker see the rasops library.

    Apologies, I'm really new to NetBSD and the way it's laid out. Am slowly learning.
    Your config is correct. Something else is broken . I'll fix that and let you know, so you could update your source tree.

    ---------- Post added 20th January 2012 at 00:00 ---------- Previous post was 19th January 2012 at 23:56 ----------

    http://ftp.netbsd.org/pub/NetBSD/mis...tbsd-GENERIC-1

    This is a kernel with local console output, please take a photo if it does break. It shouldn't because it is exactly the same as g13 kernel, but built from cleaned up source committed to the NetBSD CVS. If you already have a working NetBSD installation, you can obtain the kernel log using dmesg command (post it here ).
    Last edited by strim; 19th January 2012 at 23:57. Reason: fix quote
    NetBSD: "Progress on your system is closer than it appears."

Page 9 of 19 FirstFirst ... 5678910111213 ... LastLast

Similar Threads

  1. bizarre request
    By Justin in forum AmiOracle
    Replies: 3
    Last Post: 15th April 2011, 00:10
  2. Guide request thread
    By RedDaemonFox in forum AmiOracle
    Replies: 3
    Last Post: 22nd January 2010, 12:39

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •