Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#22152 - 09/11/2000 17:42 Patching The Kernel
JAbraham
stranger

Registered: 04/09/2000
Posts: 45
Loc: Western Australia
Hi

Could anyone please help me with instructions on how to install a kernel with the IR Hack & where to get it or how to patch my current kernel so that the Display server can be used to its full potential.

Cheers

Jamie

MKII 12Gb Blue 080000438

_________________________
MKII 12GB Blue 080000438

Top
#22153 - 09/11/2000 17:57 Re: Patching The Kernel [Re: JAbraham]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
You can grab a kernel from my site :
http://fvgestel.dyndns.org/empeg/displayserver_with_ir.1.1/ZIMAGE.gz
use gzip or winzip to extract the kernel-image from it's compressed format( It's gzipped for safe transport over HTTP )
it's got IR-LPT as extra kernel feature.
Use Tony Fabris his Logoeditor :
http://www.jps.net/tfabris/logoedit.htm
to upload the kernel-image to the empeg over serial line.
Reboot and ready is robby...
PS : the kernel is for MKII only (I suppose)


Frank van Gestel
_________________________
Frank van Gestel

Top
#22154 - 09/11/2000 18:18 Re: Patching The Kernel [Re: fvgestel]
JAbraham
stranger

Registered: 04/09/2000
Posts: 45
Loc: Western Australia
Thanks for the quick reply Frank

All updated

But still no remote control on the unit!
Is the display server supposed to do this???
I get the response in terminal of the following.ircode: 2
type: 0
ircode: 3
type: 0
ircode: 4
type: 0

Any ideas would be great

Cheers

Jamie



MKII 12GB Blue 080000438
_________________________
MKII 12GB Blue 080000438

Top
#22155 - 10/11/2000 01:42 Re: Patching The Kernel [Re: JAbraham]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Strange...
The kernel you downloaded contains a modified kernel-patch. Maybe you could try the old version which is also at http://empeg.dyndns.org/empeg


Frank van Gestel
_________________________
Frank van Gestel

Top
#22156 - 19/11/2000 19:12 Re: Patching The Kernel [Re: fvgestel]
JAbraham
stranger

Registered: 04/09/2000
Posts: 45
Loc: Western Australia
Thanks Frank

The old version works perfectly

Jamie

MKII 12GB Blue 080000438
_________________________
MKII 12GB Blue 080000438

Top
#22157 - 01/12/2000 16:33 Re: Patching The Kernel [Re: fvgestel]
kazama
enthusiast

Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
OK newbian question here so bear with me pls. I have the files and am ready to transfer them but then I read this line in Tony's Readme:
-----------------------
For example, to upload a file called MYFILE.BIN to location
A000 in the empeg's flash memory, using a serial cable
plugged into the COM2 port on your computer, the command
would be:

UPLOAD.EXE myfile.bin a000 2

WARNING: Using the UPLOAD.EXE file can be dangerous if you
don't use the correct file and the correct memory address.
For instance, if you try to load a kernel into the logo
address, you will render your player unbootable. Use the
UPLOAD.EXE program at your own risk, and only when you know
what you're doing.
-------------------
So, what is the specific location I should upload this patch to?

Greg Demetrick


Top
#22158 - 01/12/2000 16:58 Re: Patching The Kernel [Re: kazama]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31573
Loc: Seattle, WA
So, what is the specific location I should upload this patch to?

If I understand things correctly, you don't upload a patch. You should only upload full kernels.

If what you have is genuinely a "patch", then it's not something you want to upload. It's probably a piece of source code intended to be patched into the original kernel source code.

If that's the case, then you need to perform the source code patching and compile a new kernel yourself with the ARM-linux cross compiler. Once you have a new compiled kernel image, then you upload that to the empeg.

Then again, I don't know what files you've got. If you've got a "kernel patch", that's one thing, and if you've got a "patched kernel", that's another thing. Find out what you've got and get back to us...

And by the way, kernels go into location 10000 in the Empeg's flash.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22159 - 01/12/2000 17:02 Re: Patching The Kernel [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31573
Loc: Seattle, WA
Oh, and one other thing. If you're using my logo editor to send a new kernel to the Empeg, you don't need to use the command-line version of Upload.exe if you don't want to. Just run the logo editor and pick "file/kernel flash utility" from the menu and it'll handle the rest, including knowing the address.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#22160 - 01/12/2000 18:46 Re: Patching The Kernel [Re: tfabris]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
I'm pretty sure Greg is just trying to get the IR Hacked Kernal for the displayserver... right Greg? If that's the case, then you just need to get the zimage and upload that with Tony's logo editor, you don't actually need to patch the kernel...unless of course you've got some other modified kernel already on the empeg that you don't wanna loose.


|| loren.cox
|| 080000446
_________________________
|| loren ||

Top
#22161 - 06/12/2000 09:33 40 Gig question (was Re: Patching The Kernel) [Re: loren]
kazama
enthusiast

Registered: 11/11/2000
Posts: 202
Loc: Boston, MA
loren is right, I was just trying to upload the ZImage for the slaved functions but now I have a new and more interesting problem for Frank.
---------------------

Frank,

Have you or anyone tried installing displayserver on the 40 Gig model? This model has 2 20 gig drives called /drive0 and /drive1 . When I load up displayserver, it installs correctly and runs fine but my /drive1 disapears (sorta). If I go into /drive0 and do an ls I get:
fids lost+found var

if i go into /drive1 and do an ls I get
[nothing]

If I reload the developer 1.01 image I get the files on /drive1 back and they seem to be linked properly. So it seems to be supressing the file pointers when I run the install. Do you know of anyone else who has this problem or may be able to suggest a workaround?

Greg


Top
#22162 - 06/12/2000 10:15 40 Gig question (was Re: Patching The Kernel) [Re: kazama]
mardibloke
addict

Registered: 14/08/2000
Posts: 468
Loc: Penarth, UK
I'm running two disks and DisplayServer works fine for me ( Dev 1.01. rc2 image )

- --
Rod, UK Mk2 64gig Red S/No.341
_________________________
- --
Rod, UK

Top
#22163 - 06/12/2000 10:19 40 Gig question (was Re: Patching The Kernel) [Re: kazama]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
You're right, I just looked into the install script and I forgot to mount /drive1
I will update the install.sh file when I get home. In the mean time you could add the following line in /sbin/init :

/bin/mount -n -o nocheck,ro /dev/hdb4 /drive1

after the line that mounts /drive0

Frank van Gestel
_________________________
Frank van Gestel

Top
#22164 - 07/12/2000 00:27 40 Gig question (was Re: Patching The Kernel) [Re: fvgestel]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
_________________________
Frank van Gestel

Top