WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Corepure64 Released  (Read 28454 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: Corepure64 Released
« Reply #30 on: November 20, 2012, 07:59:37 PM »
The Xorg-7.6 extension will start without problems even though the initial .xsession references Xvesa

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #31 on: November 20, 2012, 11:33:07 PM »
Ok  thanks for the clarification.   

May I request a x86_64 version of Xfbdev  please  :)


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: Corepure64 Released
« Reply #32 on: November 22, 2012, 03:25:10 AM »
I'm pretty sure I have a 64-bit version of the full depmod somewhere - give me a couple of days and I'll dig it out.

depmod extension posted

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #33 on: November 23, 2012, 02:41:09 AM »
Thanks, am going to take it for a spin soon 

Thanks again

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #34 on: November 23, 2012, 02:47:24 AM »
 Looks like I have a new Broadcom Gigabit Ethernet driver (for adapters used in all 2012 Mac mini's) built for Core64/CorePure64, almost finished.

still testing

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: Corepure64 Released
« Reply #35 on: November 23, 2012, 06:35:36 AM »
my mac mini (2011, I guess) has this:
Code: [Select]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)

..and works with the base core64

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #36 on: November 23, 2012, 03:41:49 PM »
Apple changed the Ethernet adapter in all new Mac mini's6,x (at least 6,1 & 6,2) to BCM57766, the tg3 drive in base will no longer work with these new devices :|

Broadcom has an updated  Tigon tg3.ko driver v 3.124c with many enhancements over the older version which is in the latest Linux kernel, but not 3.0.21.

I have compiled a driver using corepure in text mode and made an extension, works great once the old tg3 is removed and the new tg3 modprobe'd

Assuming this is the right way to accomplish the task, Just need to write a start-up script to run

sudo modprobe -r tg3
sudo modprobe tg3
sudo /opt/eth0.sh


Unless there is a better way
« Last Edit: November 23, 2012, 06:55:26 PM by coreplayer2 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: Corepure64 Released
« Reply #37 on: November 23, 2012, 09:38:14 PM »
You could remaster corepure64 and replace tg3.ko.gz with your driver

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #38 on: November 24, 2012, 10:09:19 AM »
Meanwhile this script work out to install the tg3 driver on boot


Code: [Select]
#!/bin/sh


## function DHCP reset
f_dhcp() {
sudo pkill udhcpc
sleep 0.5
sudo udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
}


## function driver install
f_tg3_install() {

KMOD=/tmp/tcloop/eth-tg3-3.0.21-tinycore64/lib/modules/3.0.21-tinycore64/kernel/drivers/net
KDIR=/lib/modules/3.0.21-tinycore64/kernel/drivers/net

## if tigon3 driver loaded, unload driver
[ -n  'lsmod | grep "tg3"' ] && sudo modprobe -r tg3.ko

## remove old tg3 driver & replace with updated tg3-3.124c driver
find ${KDIR} -name tg3.ko.gz | xargs rm -f
cp ${KMOD}/tg3.ko.gz /${KDIR}/tg3.ko.gz

## load driver, bring up & start DHCP
sudo modprobe tg3.ko && sudo ifconfig eth0 up && f_dhcp >/dev/null 2>&1
}


## Detect Broadcom Ethernet & install updated if true
ETHX=`lspci | grep "Ethernet controller" | grep "Broadcom"`
[ -n "$ETHX" ] && f_tg3_install
« Last Edit: December 03, 2012, 11:25:48 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #39 on: December 03, 2012, 11:28:08 PM »
You could remaster corepure64 and replace tg3.ko.gz with your driver

Actually I didn't realize how easy this might be, if the drivers test out good with the above script I think I'll do exactly as you've suggested above.

Thanks

lol  easy, right..
« Last Edit: December 04, 2012, 12:38:09 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #40 on: December 06, 2012, 09:05:55 PM »
Thanks juanito for your effort in creating an Xfbdev extension,  works well.

great job thanks


Offline ztealmax

  • WikiUser
  • *
  • Posts: 45
Re: Corepure64 Released
« Reply #41 on: December 07, 2012, 04:37:27 AM »
Sorry to ask this probably dumb question but is it possible to use xfce4 or lxde from 32-bit?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13853
Re: Corepure64 Released
« Reply #42 on: December 07, 2012, 04:42:00 AM »
No, but they will work with core64

Offline ztealmax

  • WikiUser
  • *
  • Posts: 45
Re: Corepure64 Released
« Reply #43 on: December 07, 2012, 01:20:56 PM »
ok thank you :)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Corepure64 Released
« Reply #44 on: December 19, 2012, 11:42:49 PM »
You could remaster corepure64 and replace tg3.ko.gz with your driver

Thanks for the idea, works like a champ now with all new Mac mini's

remastered coreplus64 and core64 both with new tg3 Ethernet driver compiled for x86_64

Thanks again for all your help Juanito

« Last Edit: December 19, 2012, 11:46:33 PM by coreplayer2 »