#78870 - 09/03/2002 00:09
jEmplode - Auto Hijack Update + LogoEdit w/Hijack
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
The new jEmplode supports auto updating of your Hijack kernel (finally got tired of constantly checking ) and uses Mark's addition of uploading Logos w/ Hijack (very cool and seems to work great!! Thanks alot!).
For Autoupdating:
0) You have to have _some_ version of Hijack already installed
1) Go to Tools...
2) Go to Options ...
3) Select "Use Hijack when Possible"
4) Select "Autoupdate Hijack"
5) Put in mk1 or mk2 and empeg kernel version (read the tooltip attached to the labels for more info). Just leave these alone if you're running mk2 w/ the latest kernel.
6) Close Options
7) Restart jEmplode (or close and reopen a connection to your Empeg). The autoupdater will run just prior to downloading the database from your Empeg after you select the connection from the dialog.
To update, but not automatically:
0) Have some Hijack already installed
1) Connect to an Empeg
2) Tools...
3) Update Hijack Kernel
To upload logos w/ Hijack
0) Have Hijack installed
1) Tools...
2) Options...
3) Select "Use Hijack when Possible"
4) Close Options
5) Tools...
6) LogoEdit
7) Do your business
8) File..Upload to Empeg
9) BLAMMO!
Mike
|
Top
|
|
|
|
#78871 - 09/03/2002 00:12
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
Incidentally, autoupdating is heavily dependent on the page contents and naming conventions of the Hijack website.
Hey Mark -- what do you think about a text file on your site that just contains the name of the latest version. Also, is that filename format going to stay the same (i.e. v<version>.hijack.v<kernelversion>.<mk1/2>.zImage) ?
Mike
|
Top
|
|
|
|
#78873 - 09/03/2002 04:29
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
Just tried out the auto-update feature and it rocks.
One feature request: Optionally have it reboot the player (with the http://empegaddr/?reboot command) when the kernel-squirt is done.
Speaking of that, by the way:
Mark, why are there two long stalls or pauses during FTP uploads of new kernels? I've noticed it both when using the Internet Explorer FTP extensions to send a kernel, and now the same thing when using Jemplode to send a kernel.
In both cases, two stalls happen. One at about 1/3 of the way, and another at about 9/10 of the way. The FTP upload seems to temporarily stall for about 5-10 seconds each time. After the stall, the upload then continues normally. These stalls (in the past) prompted me to pause/unpause the player when they happened, until I realized that nothing I did to the player would change the behavior of the uploads, the FTP stalls still happened.
|
Top
|
|
|
|
#78874 - 09/03/2002 08:54
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: tfabris]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
I assumed this was an effect of buffering (i.e. it quickly reads a large chunk into a buffer, then slowly writes it to the network/flash). Just a guess though ...
|
Top
|
|
|
|
#78875 - 09/03/2002 08:56
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: tfabris]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
Whoops I double-added that entry ... curious result. I'll put up a new version in a sec after I add reboot-after-update.
|
Top
|
|
|
|
#78876 - 09/03/2002 09:25
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: tfabris]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
OK -- You got your reboot (though it uses ProtocolClient.restartUnit(..) as opposed to Hijack reboot, since the empeg reboot will allow me to wait until it's fully restarted -- interestingly, waitOnPlayer immediately returned with a Hijack reboot).
|
Top
|
|
|
|
#78877 - 09/03/2002 10:36
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
I just downloaded the absolutely bleeding edge version of jemplode20.jar (2002-03-09 11:something Eastern) and tried to upgrade Hijack from 230 to the latest (235). It checked the versions, downloaded the kernel, uploaded it and - nothing, empeg stuck. After power cycling serial shows is stuck after 'Calling linux kernel...'. Obviously, the kernel got corrupted somewhere along the way
Ah, well, I didn't do old fashioned upgrade in a while....
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#78878 - 09/03/2002 10:42
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: bonzi]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
What was the last jEmplode message you saw? Rebooting Empeg, or something else?
Edited by mschrag (09/03/2002 10:43)
|
Top
|
|
|
|
#78879 - 09/03/2002 10:50
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
'Rebooting empeg', 'Waiting for empeg to reboot', something lige that.
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#78880 - 09/03/2002 10:56
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: bonzi]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
Same here...
Check the log:
e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux.............................................................
..................................................(data abort vector)
|
Top
|
|
|
|
#78881 - 09/03/2002 10:58
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: crazymelki]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
What version of Hijack are you updating from?
|
Top
|
|
|
|
#78882 - 09/03/2002 11:00
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
I did from V234 to V235!. But now it does not boot up anymore.... I have an MK2.
|
Top
|
|
|
|
#78883 - 09/03/2002 11:02
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: crazymelki]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
I wonder if that reboot after update is hosing it ... Maybe the reboot is happening too soon after update.
|
Top
|
|
|
|
#78884 - 09/03/2002 11:03
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: crazymelki]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
Your gets a bit further, it actually bombs.
Boohoo, I just discovered I haven't kept my 'restore_root.sh' script up to date. Well, remembering yet another thing to re-install the whole evening will teach me to be more pedantic about this!
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#78885 - 09/03/2002 11:04
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
230
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#78887 - 09/03/2002 11:19
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
veteran
Registered: 08/05/2000
Posts: 1429
Loc: San Francisco, CA
|
Just downloaded and tried the new Beta for the first time. Worked flawlessly.
The one thing I can't figure out is if there is a way to add track number to downloaded file names... What's the {syntax} for that? If it exists, how does it work? Does it take the track position in the list and use that or does it take it directly from the tag?
- Thanx
- Jon
|
Top
|
|
|
|
#78888 - 09/03/2002 11:23
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: jbauer]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
|
Top
|
|
|
|
#78889 - 09/03/2002 11:27
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
veteran
Registered: 08/05/2000
Posts: 1429
Loc: San Francisco, CA
|
Oops. Missed that. Thank you!
- Jon
|
Top
|
|
|
|
#78890 - 09/03/2002 12:50
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
OK guys -- The open-source FTP client I was using was either a little screwy or I wasn't using it properly. Regardless, I've switched it out for another client that seems to be much more reliable (for me anyway). Give the new version a shot and see what happens.
|
Top
|
|
|
|
#78891 - 09/03/2002 12:53
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: bonzi]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
After you get a working kernel back on, if you're daring enough, try the new version You should be able to use jEmplode to serial-update your Hijack kernel back on (that's what I do when I hose my player up). You'll want to turn off the Tools..Options...Use Hijack When Possible prior to doing a Tools..Upgrade Empeg.
Mike
|
Top
|
|
|
|
#78892 - 09/03/2002 13:04
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
>Incidentally, autoupdating is heavily dependent
>on the page contents and naming conventions of the Hijack website.
>Hey Mark -- what do you think about a text file on your site that
>just contains the name of the latest version. Also, is that filename
> format going to stay the same (i.e. v<version>.hijack.v<kernelversion>.<mk1/2>.zImage) ?
I expect the filename format to remain the same, but it would be best not to depend upon it. To help with that, perhaps I could add a NEWEST_VERSION file, which contains two lines with the filenames of the newest version in it. eg.
## Newest versions for auto-updating:
v235.hijack.v2b11.mk1.zImage
v235.hijack.v2b11.mk2.zImage Just ignore the top line. Okay?
Edited by mlord (09/03/2002 13:15)
|
Top
|
|
|
|
#78893 - 09/03/2002 13:06
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
The pauses/stalls during the kernel FTP are in the flash-empeg.c driver code. It can only write the kernel in chunks of 64KB, so it sits there collecting and reordering packets until it has a full chunk to write out, and then writes it. The pauses are the flash write time (and possibly a read-modify-write sequence for the tail end).
The first couple dozen writes of new kernels take only a couple of seconds, after that the flash slows down and takes longer, and longer, and longer, and.. after 10000-100000 writes just never finishes anymore.
Cheers
|
Top
|
|
|
|
#78894 - 09/03/2002 13:12
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mschrag]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Basically, you have to hang around long enough for the flash update to complete before issuing the reboot. The simplest way to ensure that this happens correctly regardless of client, is to read back the kernel after writing it. Readback only takes about a second or so. And while you're at it, you might as well compare the readback with the file that was written.
Cheers
|
Top
|
|
|
|
#78895 - 09/03/2002 13:18
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Okay, the NEWEST_VERSION file is now on the server, and in my install scripts for subsequent updates.
Cheers
|
Top
|
|
|
|
#78896 - 09/03/2002 13:50
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hijack
[Re: mlord]
|
pooh-bah
Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
|
|
Top
|
|
|
|
#78897 - 09/03/2002 14:00
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hij
[Re: mschrag]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
No problem. Now if only the BBS would pick up my new image..
|
Top
|
|
|
|
#78899 - 09/03/2002 15:38
Re: jEmplode - Auto Hijack Update + LogoEdit w/Hij
[Re: tfabris]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14496
Loc: Canada
|
Well, it's working now, but the BBS was definitely generating pages that referenced the old (non-existant) one for quite a while after I changed it (I even tried with a different browser, to negate any possibility of caching issues here).
So I just linked the new image to the same name as the old one, so that they both "worked" during the transition period (however long that was).
Cheers
|
Top
|
|
|
|
|
|