I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
Webpal Firmware Update
the magic mime type?

New MessageWebpal Firmware Update (modified 0 times) transiit
Profile
some months back, there was some discussion on how to get the webpal to accept an update (the theory being that if we could get the webpal pointed at a homebrew image, we could get it running whatever we felt like without the need for an external burner with a custom adapter). The only definitive information we managed towards this end was that it was looking at the http headers (thus not installing just any html document into its memory)
Anyway, I happened to be reading the manpage for wget earlier, and noticed the -s switch to get it to save the headers. So I pointed it at a known upgrade image, and here are the results:

HTTP/1.1 200 OK
Date: Sat, 13 Jan 2001 06:02:27 GMT
Server: Apache/1.3.9 (Unix) (Red Hat/Linux)
Last-Modified: Wed, 07 Apr 1999 16:55:08 GMT
ETag: "eb171-b1c4c-370b8dec"
Accept-Ranges: bytes
Content-Length: 728140
Connection: close
Content-Type: application/x-erider-image

Perhaps someone will find this useful.

-transiit

01-12-2001 23:17:03

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
: application/x-erider-image
this is probably it.. easyrider is the name teknema gave to it's box. whether or not that is the complete image (or is compressed in some form) is another question.
01-14-2001 09:40:04

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
As far as updating the firmware, I found the files at www.teknema.com/easy/newcom and I assume you just click on them to upgrade the firmware. However, on my Webpal, it downloads about 30000 bytes of the image and then just stops receiving.... Does anyone have any ideas?
01-14-2001 18:36:12

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
OK well i got the webpal to upgrade to the latest image. Now my next question is: I have the modem version of the webpal. Can anyone tell me which ethernet card should be used in these things? Is it possible to upgrade the software to the ethernet version and then just swap the correct ethernet card in?
01-14-2001 19:11:00

New MessageRE:Webpal Firmware Update (modified 0 times) transiit
Profile
The ethernet board that is rumored to be the official ones for these boxen/images is the Cirrus 8900.

-transiit

01-15-2001 00:23:11

New MessageRE:Webpal Firmware Update (modified 0 times) gr8_brit
Profile
Hi there. Just checked back in to see what what happening in the webpal area, and see that *some* progress has been made.

Codeman's still keeping quiet I see.

dflowerd, I'd like to know how and what you did to update this thing (I assume automatically?). Which file did you grab etc.

I have an ISA Ethernet card fitted with a Cirrus 89xx ethernet chip, (i think it's an IBM built card) so if you can tell me what you did, I'll try and check it out.

I still think we can get this thing to run an O/S properly. Be nice if Codeman could give us more details of what he did though!!

Cheers,


gr8_brit
01-15-2001 14:35:11

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
Well I haven't upgraded mine to ethernet yet, but I did update the software on the thing. I just went to http://www.teknema.com/easy/newcom/ and selected the 1-3-5-14 version link (that seems to contain the latest release targetted at english-ntsc-ppp) and clicked the ENGLISH_ppp_ntsc binary image. The webpal downloaded the image and then wrote it to the flash and rebooted with the new software.
01-15-2001 17:07:59

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
I've got an 8920 card made by IBM, and I went through the process of updating with the ethernet download from teknema, and (at least with the lan card I have) it doesn't work. The card has a wakeup on lan feature and becomes active the instant the unit powers on, however, it dies as soon as it appears that the unit would like to transmit. and oddly, the unit still appears to be trying to dial.
01-16-2001 09:28:45

New MessageRE:Webpal Firmware Update (modified 0 times) doug
Profile
I also tried the ethernet firmware update. I installed an old generic NE2000 type ethernet board I had lying around with no luck. I initially gave up because I was expecting the setup screen to change, but I just ran across this page http://ekiwi.net.nz/TechSupt%20.htm with ethernet set up instructions. It appears that the screen does not change and bogus numbers have to be entered into the phone number, accound ID, and password fields. It also mentions that it will only work with a static IP address. I'll try a few ethernet boards later and see what happens.
01-23-2001 07:16:02

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
I just go a sample of an 8900 chip from cirrus; if I get around to it, I will wire up a board with it and see if I can get it to work.. on another note, does anyone HAVE a board with an 8900 chip (not 8920) that I could buy or try?
01-23-2001 10:17:59

New MessageRE:Webpal Firmware Update (modified 0 times) doug
Profile
I tried a whole pile of ethernet adapters with no luck. I think I had boards with every chip available except the Cirrus. It was clear that the unit recognized something was in the slot but could not talk to it because it brought up the connection dialog with some boards . With other boards it did not attempt to make a connection at all. Nothing showed up on the network in my packet sniffer.

It also looks like the modem is no longer recognized after doing the ethernet update. That pretty much leaves the box useless without a working ethernet board unless there is another way to flash the modem firmware again.

01-24-2001 16:09:49

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
Well, since it appears that most people have lost interest in this project (including Codeman) I think I am going to try and build a programmer for the flash simm myself. From looking at the schematics of the 7500 dev board from Cirrus (which I understand is quite similar to the webpal board) I don't think the flash programmer will be too hard. The part I'm most concerned about is writing some sort of bootloader to load the Linux kernel. I've never really done anything like that before so I don't know what's entailed. For instance, would a bootloader just have to simply move the Linux kernel code from FLASH to RAM and then transfer execution to it? Or does something more complex need to be done for instance something with the video output? If anyone has any ideas or has any experience in this area let me know...
01-26-2001 12:34:08

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
you shouldn't really need a bootloader.. as near as I can tell, all that needs to happen is for the start of the binary bios image to be at the start of the flash, so that it'll execute when the bios (haha) jumps to it..

of course, I could be wrong.. if so you (or me or someone else) will have to look at the kernel documentation that says where all of the various parameters need to be for the kernel to retrieve them when it gets jumped to.. I THINK that info is available at linuxhq.com, though it may be different for the ARM7 distro (which I think isn't supported by default)

01-26-2001 15:32:54

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
As far as I can tell, there is no BIOS. According to the documentation, as soon as the chip is powered up it begins executing at 0x00000000 which is mapped to the start of the FLASH. Along those lines, does anyone know what the socketed chip at the front of the unit is for? It's an Atmel AT89C52 which according to http://www.iguanalabs.com/8952pin.htm is an 8 bit CPU with FLASH. It looks as though its connected to the smart card reader and the IR port, so I assume its a controller for those?
01-26-2001 17:04:44

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
The socketted chip on mine says 80C501 which is an intel 8501 variant, as is the chip in your system, this has built in flash, and you are likely right about its purpose.

Anyhow, it looks like things just got a little easier, all we need now is a flash programmer for the flashsimm..

it looks as though it would be very easy to upgrade the flash simm to 2MB by adding another device, though I recall reading somewhere that it will support 16MB of flash. If we could find 2 8MB devices with a matching form factor then we could make a 16MB flashsimm, with plenty of room for whatever we'd like.

01-26-2001 17:44:46

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
Cool!! I just found this http://www.cent-tech.com/Memory/MemoryLinks2/SIMMprod.htm#SOD

they sell 72pin sodimm flash ram that operates the same way regular ram does (like ours)

after reading it I now fully believe that we could program our flash devices using an old 486/pentium with 72 pin simm sockets and some software..

I think one of the computers I have laying around may work..

Note: we'll need to make sure the memory gets addressed but not used.. maybe program it with a dos app..

01-26-2001 18:34:26

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
Actually, I'm pretty sure that I saw somewhere when I was looking around that the flash SIMM in the Webpal is an 80 pin type II. Also, I'm looking at the schematics and while the SIMM socket is the same for the flash and DRAM, the DRAM only makes use of 72 pins while the flash uses all 80, and the pinouts are totally different. So, I'm guessing that plugging the flash SIMM into a PC's memory socket wouldn't work (and probably wouldn't be a good idea...)
01-26-2001 22:22:55

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
take out your flash and memory simms; look at them.. the have the same number and layout of pins. my regular memory has 1 and 72 silkscreened on it.
01-27-2001 20:04:08

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
well.. I tried it, they don't apperar to the system as regular memory, and prevent it from booting. they fdon't cause any harm; it just doesn't work..
01-28-2001 11:16:06

New MessageRE:Webpal Firmware Update (modified 0 times) rscott
Profile
I've actually been hacking on the webpal in my (not) copious spare time. At this point, I've ported a monitor/flash utility to it, and have requested a cpu identifier from the keeper of the linux ARM port. I haven't yet created a bootable vmlinux, but I'm hopeful that it shouldn't be too large an effort. (There's already support for the Cirrus 7500FE developement board).

It is possible to use the built-in routines in the stock webpal to download code, and take control of the machine. If you build a TTL to RS232 adapter, that gives you access to the serial ports. Then, you can run GDB, and load code. The next trick is to hook the breakpoint, and then you've got complete control. When I have some time, I'll detail the process...

If you guys out there are building hardware, I'd advise building the serial port adapter first. The webpal connector pinout is somewhere on this bbs.

Good luck!
rscott

02-13-2001 17:15:57

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
I've managed to build and boot a 2.4.0 Linux kernel. I built my own flash programmer to get it into the flash but my kernel patches may be of use to those of your trying other techniques to get a kernel loaded.

You can find details and code at:

http://www.bill.danielson.com

02-14-2001 00:20:36

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
Awesome.. most useful to me at this second would be the info on the flash programmer..
02-14-2001 08:10:39

New MessageRE:Webpal Firmware Update (modified 0 times) cacho_web
Profile
Hi Everybody.
This is my first post to this list. Iīve been working with the development board provided by Cirrus Logic, and have done little work with software that comes with it.
Looking around the web, I have found this site http://www.lart.tudelft.nl/ itīs a project based on a SA-1100. The interesting part is that there is a complete bootloader with source code (flash programer included).
Hope this can be usefull.
02-14-2001 08:49:04

New MessageRE:Webpal Firmware Update (modified 0 times) rscott
Profile
Wow! Bigbrd has made great progress! Can't wait to try the zImage

BTW, I did get a chance to add some comments to the README for my utility/flash programmer, if someone would like to use it.
Unfortunately, my webserver is missing a library (just upgraded to rh7). If someone wants to have a copy: rscott at mtrob.fdns.net is the place to send a message.

rscott

02-14-2001 14:54:25

New MessageRE:Webpal Firmware Update (modified 0 times) cacho_web
Profile
I've programmed the flash with bootimg and conected a TTL/RS232 adapter to J10 first, then to J11, and set my terminal app with 9600,n,8,1, but nothing happens :o(
Did anyone tried the code of bigbrd? What I'm doing wrong?
02-15-2001 08:51:14

New MessageRE:Webpal Firmware Update (modified 0 times) cacho_web
Profile
OOOppss, it seems that the image is bootp, not bootimg. Am I right?
02-15-2001 09:06:50

New MessageRE:Webpal Firmware Update (modified 0 times) rscott
Profile
I've made a quicky web page - most importantly, it has the core routines for programming the flash. After I finish integrating kernel parameter passing from bigbrd's booter, I'll post a complete version of my loader. And some instructions on how to flash the webpal's ROM!
02-16-2001 11:54:38

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
bootp is the binary you want to load.
It should start at location 0.

Your zImage file should start at location
0x10000 (offset 64K). The web page
was initially incorrect
when it stated this should start at offset 16K. The offset is controlled by KERNEL_FLASH_START in main.c

Also, I assume that you know that the RS232 ports are TTL levels and need a MAX232CPE or other chip to level convert them to TTL levels. J11 is the port you want to use. J10 is hooked up to the AMTEL chip for the wireless keyboard and smart card slot.

02-17-2001 10:57:44

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
My comment about the the serial ports J10 and J11 was confusing.

What I meant to say was...

The J10 and J11 serial ports are TTL levels and need to be converted to RS232C levels using a MAX232 or other chip.

02-17-2001 11:34:28

New MessageRE:Webpal Firmware Update (modified 0 times) cacho_web
Profile
OK. Let me see what I'm doing wrong.

step 1.- Iīve downloaded bootp to the flash with an universal programmer (EMP20, Needham's Electronics) with a home made adapter (tested), starting at location 0. I didn't programmed zImage yet.
step 2.- I conected pins 3, 5 and 9 (Rx, Tx and GND) to a MAX232, and then to serial port of PC (tested too).
step 3.- Configurated mi terminal app to 9600, 8, N, 1, no handshaking.
step 4.- Turned on mi webpal, but....... nothing happens :o(

What am I doing wrong????

02-19-2001 06:49:33

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
In terms of what is wrong, it sounds like the RS-232-C wiring is correct. If you can still reprogram your flash back to the original webpal code, you could verify this by holding down the button inside the unit while you reset it and that will place you in the debugger and will output a string.

The other thing to verify the the endian-ness of the programmer. If you took a snapshot of the original webpal flash into a file, use od on that file with -t x1 and you should
see something like:

0000000 6c f0 a0 e3 ......

The order may vary depending on how the programmer chooses to represent the 16 bit values.

Do the same thing for bootp (program it and then read it back into a file). You should
now see:

0000000 06 00 00 ea ....

The ordering should match up for both of the binaries even if they are different from mine.

02-19-2001 12:40:32

New MessageRE:Webpal Firmware Update (modified 0 times) cacho_web
Profile
>In terms of what is wrong, it sounds like the RS-232-C wiring is correct. If you can still reprogram your flash back >to the original webpal code, you could verify this by holding down the button inside the unit while you reset it and >that will place you in the debugger and will output a string.

Good!! I have reprogramed the flash, and if I hold down the button while resetting and then free the button, I received the following:

Easy Rider [4MB] ER_NBOARD (Newcom) (bootrom v4.0)

So, this means that my programmer works fine and the serial link too. I'm really confused in what can be wrong. My webpal motherboard is PWB-117A ver.01, date 97/04/03, may be this can help. Iīm only running bootp, with no hard disk nor modem nor network adaptor attached, only RAM, with a flash card with two chips: 29F800B, the TTl/RS232 adapter and power.

I've been looking at the source code (in main.c), and you (bigbrd) are #include'ing some files that aren't in bootp.tar, could you please give me a link to these or include them in a new .tar file? Thanks :0))
Itīs really important for me to make this thing work with Linux (well ..., I make a bet with a friend that is trying to put windowz-CE on it, poor boy...)

>The other thing to verify the the endian-ness of the programmer. If you took a snapshot of the original webpal flash >into a file, use od on that file with -t x1 and you should
>see something like:
>
>0000000 6c f0 a0 e3 ......
>
>The order may vary depending on how the programmer chooses to represent the 16 bit values.
>
>Do the same thing for bootp (program it and then read it back into a file). You should
>now see:
>
>0000000 06 00 00 ea ....
>
>
bigbrd:
This is all OK. One thing that itīs a bit confusing: if you see the code in the boot example in apendix A (ARM7500FE Data Sheet), the chip is "forced" to work as if it where in 16 bit mode (the real thing, because a reset puts it in a 16 bit mode), and this is the same code as used in the original webpal code. But....in the "End of Reset Sequence" section (pag 4.13), thereīs another "strange" code (as you stated in your web page, and as I can see, itīs the code that you implemented), that runs as if the chip where in 32 bit mode......but the chip is in 16 bit mode.....and thereīs a great difference in the way the bytes are fetched and the "real" 32 bit instruction is built. How does this work ????????

Thanks in advance.

02-20-2001 10:53:38

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
The problem is that you have a flash simm that has 2 flash chips, the version with 2M of storage....a pretty rare beast as I understand it You may want to offer to sell it on ebay to all the people that wanted to run the newer bigger system on the webpal! Might pay for a new house!

All my webpals have a single chip...1MByte of flash (actually 512 by 16 bits).

You said you had one of the Ver 01 boards. For now that won't matter. I have one of these also and the only difference I found so far is that the IDE controller is at the primary IDE address rather than the secondary.. The bootp I put on the web page won't find this IDE controller unless you change the file ide.c to return the primary ide controller addresses. My extremely lame attempt at automatic detection you will see in this file doesn't work so I just hardcoded it.

But back to the flash issue. To use my bootp as is, you'll have to program your flash so that you only use the flash chip on left (assuming the gold pins are on the bottom). Take the 32 bit quantities and put the least significant 16 bits into location 0, the most significant 16 bits into location 1, etc etc.... Otherwise, you'll have to modify my bootp to do that magic switch to 32 bit mode that you mentioned.

02-22-2001 00:24:11

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
The missing include files are from the 2.4.0 ARM linux distribution.

To create this, get the 2.4.0 kernel source. Apply one of the set of 2.4.0 patches from the ARM linux site.

Then, either configure an ARM kernel or manually make sure that:

include/asm is a symbolic link to asm-arm
include/asm/arch is a symbolic link to arch-cl7500

Then change CFLAGS in the bootp Makefile to
point to this include directory.

02-22-2001 00:35:19

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
A final note about the 16 bit vs 32 bit mode. The code at the beginning of bootp is setting the address length to 32 bits. It doesn't affect the width of the ROM SPACE. That is set using the register at 0x03200080 which is called ROMCR0. I only set this during my flash programming routines because that code runs out of RAM and its easier to read/write the flash using 32 bit reads
if the ROM SPACE is set to 32 bits wide.

See pages 67-69 of the CL_PS7500E manual
(Cirrus Logic version)

02-22-2001 00:46:29

New MessageRE:Webpal Firmware Update (modified 0 times) cacho_web
Profile
Great!!!! It works fine!!!. (you should see the face of mi "windowz-CE friend" when linux was booting, ja!!)

But..... i received the following:

Kernel panic: VFS: Unable to mount root fs on 03:01

Should I conect something else (hard disk) so as root to be mounted ??

Hereīs is a log of what said linux:


WebPal Linux Loader.
Bank 0: 0x10000000 size 8388608
Bank 1: 0x14000000 size 8388608
boot parameters: parport=0x278,13 ide0=0x170,0x376,11
Copying kernel zImage...starting.
Uncompressing Linux............................................. done, booting the kernel.
Linux version 2.4.0-rmk3 (brd@pc) (gcc version 2.95.2 19991024 (release)) #35 Mon Feb 5 00:59:39 PST 2001
Processor: ARM/VLSI ARM 710 revision 0
Architecture: CL-PS7500
On node 0 totalpages: 4096
zone(0): 18432 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: parport=0x278,13 ide0=0x170,0x376,11
ide_setup: ide0=0x170,0x376,11

Calibrating delay loop... 35.32 BogoMIPS
Memory: 8MB 8MB = 16MB total
Memory: 14504KB available (1164K code, 327K data, 60K init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
parport0: PC-style at 0x278, irq 13 [PCSPP,EPP]
pty: 256 Unix98 ptys configured
Keyboard timeout
Keyboard timeout
Keyboard timeout
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: enabling 8 loop devices
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Serial driver version 5.02 (2000-08-09) with no serial options enabled
ttyS00 at 0x02f8 (irq = 0) is a 16550A
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
request_module[block-major-3]: Root fs not mounted
VFS: Cannot open root device "" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01

02-22-2001 11:26:52

New MessageRE:Webpal Firmware Update (modified 0 times) vwbug19
Profile
you need to tell the kernel where the root dir is , i'd say for first harddrive parition is root=/dev/hda1 you probably need to use rdev it
02-22-2001 18:55:42

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
It looks like he did mention where to find root: major device 03, minor device 01 (hda1)
so, yes attach a hard drive with a suitable root partition. If that doesn't work, I think it was discussed that some webpals have the HD controller on the secondary channel, which will require a code fix in the boot loader..


request_module[block-major-3]: Root fs not mounted
VFS: Cannot open root device "" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01

02-23-2001 07:13:22

New MessageRE:Webpal Firmware Update (modified 0 times) rscott
Profile
Ok - I've added the ability to boot bigbrd's image to my loader, and given some brief directions on how to get the loader running on a stock webpal. Let the linux games begin!

The webpage is at: http://mtrob.fdns.net/~webpal

Good luck!

02-24-2001 14:16:42

New MessageRE:Webpal Firmware Update (modified 0 times) gr8_brit
Profile
Whoa! Guys... way to go... some major acheivements here. Well done to you all....

OK. Now I've pumped you all up :) ...

I'm going to sound like a lame-brain here. I've been trying to find the fabled 2.4.0 kernel you all talk about. Tried via kernel.org, but they list Debian 2.2 (which I tried to load but even on a cable modem took 6 hours then crashed :(

So.....

Where are you getting your 2.4.0 kernel stuff from. Assume a complete newbie wanted to get going with this thing (not me - but for the general population out there ;) ) What is the best site to get a kernel source/ binaries (and toolset) distribution from. I realise there are patches to be applied to the normal ARM distibution. (I can handle that), but I need a starting point to, well, start from !

Let the good words flow.....

Cheers,


gr8_brit
02-27-2001 00:31:32

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
Not sure why you couldn't find it. It is big (20MB or so) but if you have a cable
modem it shouldn't take more than 5-10 minutes or so to transfer.

http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.0.tar.bz2

02-27-2001 00:53:06

New MessageRE:Webpal Firmware Update (modified 0 times) dflowerd
Profile
OK everyone I have 2 questions:

#1. Has anyone actually been successful at getting a linux image on the webpal simply by using the webpal's built-in flashing? (meaning no use of a programmer and no building serial port converters to run GDB)?

#2. I've been comparing the downloadable webpal upgrade image from teknema and the rom_dump.bin that rscott has on his page. I think I have found that what is located at 0x0 in the teknema image is located at around 0x20000 in the rom_dump.bin. However, it's not exactly the same, but I'm wondering if this is because the rom_dump.bin and my downloaded image are different versions. So my question is does anyone know what version of the webpal software is in use in the rom_dump.bin provided by rscott?

03-06-2001 07:58:00

New MessageRE:Webpal Firmware Update (modified 0 times) rscott
Profile
The rom image on my page was pulled from the webpal egroup discussion file storage area. If I remember correctly, codeman was the orginator.

As an aside, I did attempt to re-flash with the image, but it didn't boot, so the image is a bit suspect. (Though I did use objdump to look at it, and it made sense to me. Shrug).

I like your idea of using the built-in update to flash the image! I'm guessing that the http download writes to the "application" area of flash, and wouldn't touch the "boot" area. Perhaps that's why there's a difference in addresses?

Rob

03-12-2001 15:40:58

New MessageRE:Webpal Firmware Update (modified 0 times) Programmer
Profile
128K is a pretty deep boot area.. and if the http flash doesn't write there then that kill the opportunity to get a linux loader into address 0...

of course, it might be nice to exploit their concept for our own use.. set up a loader, and some callable functions to write the applications area, and probably some kind of mini process that you can press a button on the mainboard and have it head to a specific web address and pick up an applications image.. that way if somehow you trash your flash, you can reload it fairly painlessly.. of course, you might as well set it up to try a network boot first, then a HD boot then flashboot.. .. hmm I'm rambling here..

03-13-2001 07:16:59

New MessageRE:Webpal Firmware Update (modified 0 times) codeman
Profile | Email
hey bigbrd did you get the video working
i could not get it right could get video then it would crash.

codeman

03-13-2001 22:48:40

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
Codeman,

Yes, I did get the video to work.
However, I'm using a 2.4.x based
kernel so it may have fixes that
weren't in the 2.2.x ones.

One bug: if I don't define the
parallel port, the system will
hang at about the point where
the parallel port is probed...e.g.
you see about a screens worth of
output and then things get stuck
somewhere. Do not know if this is
related to the parallel port stuff
or some unrelated-to-parallel-port
timing bug.

03-13-2001 23:33:12

New MessageRE:Webpal Firmware Update (modified 0 times) codeman
Profile | Email
Did you get it to run at full speed yet i could get my bootloader to run at full speed but the kernel would not load
?

codeman

03-17-2001 18:37:34

New MessageRE:Webpal Firmware Update (modified 0 times) bigbrd
Profile
Full speed is with the clocks divided by 2.
The clock chip puts out 80Mhz for the
IO and CPU clocks. Since the CLPS7500
is rated at 40 Mhz max for the version
in the webpal, you should leave the
on-chip dividers set to divide by 2.

So, running it at divide by 1 would
be using an 80 Mhz clock or overclocking
by 2 times! I suspect
this would mess up the memory timing
(or you'd have to have real fast RAM!)
You could try setting the memory parameters
to the slowest values and see if this
works.

The reason my BogoMips is larger than yours
is that since the IO clock runs at 40Mhz
rather than 32 Mhz, the clocks run faster.
I modified this parameter in the Linux
header files to take into account that the
timers ran at 2.5Mhz rather than 2.0Mhz
and this makes my BogoMips higher than
codemans original kernel (since I'm assuming
he didn't change this). But its still
running at the 40 Mhz clock (or divided
by 2 for IO clock and CPU clock).

Bill

03-20-2001 00:20:50

New MessageMemory clock and system clock can be asynch. (modified 0 times) newbee
Profile
I heard that this ARM processor can have separate memory clock and system clock. Hence one can be divide by 2 while the other is divide by 1 or completely unrelated frequencies. This is designed to get a higher memory clock than system clock but wouldn't hurt if we do it in the other way around..

(stock 40MHz CPU can take 64MHz memory clock as much as its faster 56MHz cousin)

If codeman could run his boot loader at 80MHz, it is worthwhile to try the kernel as well while the chip may need additional heat sink.. which is simply not there.

Meanwhile, it seems that the people who are trying to load Linux on webpal these days have a lot of trouble in following Rob's direction. Any idea why ?

11-01-2002 02:50:08

New MessageRE:Webpal Firmware Update (modified 0 times) NarShadda
Profile
I know this was forever and a day ago, but I thought it still might benefit someone if they were running an older version of the software and wanted to play with it. The first message in this thread mentions looking at the HTTP headers before NewCom and Teknema locked the WebPal out in the cold:

HTTP/1.1 200 OK
Date: Sat, 13 Jan 2001 06:02:27 GMT
Server: Apache/1.3.9 (Unix) (Red Hat/Linux)
Last-Modified: Wed, 07 Apr 1999 16:55:08 GMT
ETag: "eb171-b1c4c-370b8dec"
Accept-Ranges: bytes
Content-Length: 728140
Connection: close
Content-Type: application/x-erider-image
...
: application/x-erider-image
this is probably it.. easyrider is the name teknema gave to it's box. whether or not that is the complete image (or is compressed in some form) is another question.

I pointed the WebPal at http://manmicro.com/webpal/ and clicked on the NTSC PPP update. The headers being returned by that website show it as text/plain. I get the same results that dflowerd saw. It bombs after about 30k and hangs up the phone. I guess it has a limit of how much text it will read.

Not to be deterred, I downloaded the file to my Win2K machine where I have IIS 5.0 running (yeah, I know... ;) ). When I checked the default headers on it, it came up as application/octet-stream. Still not what we want. Anyway, I added a MIME mapping for the .erx extension to application/x-erider-image. I then used the WebPal to browse out to my own website and download the file. SUCCESS!!! Whoever has these files at manmicro.com might want to add that MIME mapping to allow the files to actually be used from a WebPal.

03-19-2003 23:39:01

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3