[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Converted to Texinfo by Erwin Authried eauth@softsys.co.at
I didn't notice it before, because 1) I had no personal need in upgrading my kernel 2) I was always referring people to my private images on ftp.employees.org
The bad news is that I don't have fixes for pre7 yet. It might take some time, though not too much, I hope.
The good news is that I just put precompiled pre1-based images for M68EZ328ADS on ftp.employees.org. For most of the stuff that you can do with the board (for now) pre1 is as good as pre7.
Of course, the diffs against 2.0.38.1pre1 are also there.
ftp://ftp.employees.org/vag/uClinux/release/uClinux-2.0.38.1pre1-vag
You'll also need kermit itself, which you can get from http://www.columbia.edu/kermit
Alternatively, you can run BBUG.EXE from DOSEMU.
There is a simple Perl script, distributed with uClinux that performs this conversion. You can find it in
ftp://ftp.employees.org/vag/uClinux/tools/stob
It moves the contents of the first 1MB of DRAM into the first 1MB on FLASH.
From bbug you have to do:
load at_flash.b load your_file.b start 1004
Your B-records file should be placed at address 0x00400000
See also 'program_flash' macro in bbug source.
If you are curious how to access 68681 DUART on M68EZ328ADS, look at the file arch/m68knommu/platform/68EZ328/ads/init_ram.b This file is used to generate linux.b -- uClinux kernel that runs from RAM and it shows how to output the word "Ready" on 68681 (Port A).
I don't have any plans to support 68681, because I don't need it anymore (at least for now). But I am willing to help anyone who wants to do that. Alternatively you (or your company) can sponsor me :) to write the driver if you really need it. Please, note that 68681 only supports up to 38400bps.
You can check your romdisk.img contents my mounting it directly on your workstation, like
mount -r -o loop -t romfs /home/vag/romdisk.img /mnt/romfs
(Please note, that you should unmount and re-mount this image whenever you rebuild romdisk.img!)
2) at_flash.b copies only 1MB of data from DRAM to FLASH. Thus, if your resulting image (linux.bin) is bigger than 1MB you are probably missing a part of your root filesystem and it can be your /dev directory.
Modify at_flash.S to support more than 1MB.
SIOCSIFADDR=-1: 19 SIOCGIFFLAGS = -1: No such device (19) SIOCADDRT=-1: 19 SIOCADDRT=-1: 19 |
A: You probably built your romfs from the original sources,
which are tailored for uCsimm. This message is from /sbin/ifattach
,
which tries to configure uCsimm's ethernet, that is definitely
missing on M68EZ328ADS.
You should edit `/etc/rc' in your romfs directory and remove
instances of /sbin/ifattach
that are related to ethernet interface
as well as other "ethernet-related" commands, like NFS mounts.
Use `/etc/rc' from the pre-built romdisk image as an example.
1) Add it to your root filesystem, rebuild the root filesystem and re-flash it.
2) Use NFS over PPP. Mount your development directory over NFS and then execute the program directly from there, or copy it to a ramfs (/var) first.
3) Modify mtd driver to use Atmel FLASH and then use JFFS so that you have a rewritable filesystem in FLASH. Then, again, use NFS over PPP to copy your executable there.
gdbserver has been successfully hacked by kwonsk.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |