macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 10:01:38 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 ... 5 6 [7] 8   Go Down
  Print  
Author Topic: Modified image for MFB100  (Read 32940 times)
0 Members and 1 Guest are viewing this topic.
jamon
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #90 on: April 16, 2007, 11:08:08 AM »

Thank jamon, those do look very interesting. But unfortunately it seems the last kernel version supported by bootimg is 2.3.48 whereas kexec hasn't been backported to 2.4.
Error! For 2.4 some backports exists: i.e. from IODATA for the LANDISK (SH4 platform) and kernel 2.4.21 (not 2.4.28 like MFB100, but without structural differencies): http://eggplant.ddo.jp/www/pukiwiki/index.php?plugin=attach&refer=kexec%20support%20in%20LinuxSH&openfile=linux-2.4.21-iodata-kexec.patch (if link don't work, please, search for "linux-2.4.21-iodata-kexec.patch" in Google)

I know the huge effort to update this patch, but will be very interesting for support/boot new kernels/distributions without troubles! Original firmware will be only like PCBIOS: a simple boot initializator and launcher.

Pagano: You can recompile the FULL kernel? We can do SAFE testing of patchs for the Kernel?
« Last Edit: April 17, 2007, 10:24:31 AM by jamon » Logged
sanecyclist
Newbie
*
Offline Offline

Posts: 45


View Profile
« Reply #91 on: April 16, 2007, 14:18:50 PM »

Unfortunately I couldn't open that link, the site seems to be down. But if it's for the SH4 architecture it probably wouldn't help very much with x86, because that sort of thing is very architecture-specific.

But another Google trawl turned up this mailing list post with a link to a x86(-64)-targetted backport to kernel 2.4.29. No documentation though. And you're right, we'd certainly need a way to recover the device before experimenting with kernel patches.

Meanwhile, the firmware kernel seems to work well with Debian Etch. I unpacked pagano's modules.tar.gz into /lib/modules, and they're automatically loaded as required. I tried it by mounting something with smbfs.
Logged
jamon
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #92 on: April 17, 2007, 10:16:39 AM »

Hi Sanecyclist,

Your proposal of use Debian Etch distribution is a good solution in the beginning, but let me to explain my proposal:

Today several devices are using an embedded version of Linux (uclinux, busybox, etc.), and some of us like to use these devices at maximum. If you think in the concept of the PCBios or a Bootloader, you can view the great opportunity of a Linux kernel with kexec support:

In a PC:  ROM-BIOS -> BootManager -> Operative System (Linux)
In an Embedded device: Bootloader -> Linux Kernel (original from vendor)

My suggestion:

Bootloader -> Linux kernel with kexec (patched from original) -> New Linux Kernel

This approach is safe, because you don’t touch the bootloader (you need JTAG access if you try to do) and the only change in the original firmware is the kexec support (don’t care about anything different of the kernel). After that you can do what you like!

FYI the PS3 from Sony is using this safe approach (look for KBoot) for boot Linux. The only requirement from the provider is the kexec support in the kernel, nothing more (moreover, with kexec support the original kernel don’t need to be Linux!). In this way you can view the original firmware as a “second stage” bootloader. For sure the boot is slow, but safe in any way.

This can be added not only to MFB100, but to any type of devices (OpenWRT’s, Oleg’s, OpenSlug’s, etc.).

In return to your post: the backport of kexec patch for kernel 2.4.29 is very promising (MFB100 is using 2.4.28), but anyone can recompile the current kernel of the firmware? Pagano can you help us?
Logged
jamon
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #93 on: April 17, 2007, 10:50:10 AM »

Hi to all!

Peharps a more simple solution: the old "Monte" (a.k.a. Linux loading Linux on x86 in the User Space). See: http://kasperd.net/~kasperd/linux_kernel/monte/

It's quite old, but version 0.3 have a version for kernel 2.4.x (with precompiled binaries!). You don't need to patch the orignal kernel (because MFB100 is using i386 binaries): only load the kernel module and use the user level utility to start the new kernel.

Not tested so far with MFB100... perhaps only works with PCBios (I don't know), but I'll try! ;-)
Logged
sanecyclist
Newbie
*
Offline Offline

Posts: 45


View Profile
« Reply #94 on: April 17, 2007, 12:27:22 PM »

Great find, jamon. I'll give that a try as well. This could completely open up the device without risk of bricking it, and as you explained, use the firmware Linux only as a fancy bootloader.
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #95 on: April 17, 2007, 12:43:57 PM »


If you guys can manage to make this work we really have a nice setup here. Completely safe - as one can just remove the hardrive / usb memory device to revert to stock firmware.

Logged
jamon
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #96 on: April 17, 2007, 15:56:12 PM »

Hi guys!

Now I'm doing some testing using an Xbox-1 (IS i386 compatible, USES 2.4.x series kernel, and DON'T have PCBIOS), because with the MFB100 the testing is very slow.

My results:

* TKM (Two-Kernel Monte): don't work as version from FTP "monte-0.3.0-2.4.x.tar.gz", but compiles with some tweaks. I'll try with the last code from CVS server in http://sourceforge.net/projects/monte/ (the last "oficial" page).

* kexec: searching for the "working" patches from Planet-lab in the kernel 2.4 (see about Xenoboot in http://www.cl.cam.ac.uk/research/srg/netos/xeno/xenoboot/

* TKM-mips: Some other version of kmonte (for TiVO/ mips platform) : http://www.numbski.net/downloads/monte-mips-0.1.tar.gz. As you can view for porting TKM to MFB100 we need to recode the bootstrap inside it (perhaps from the bootloader source).

More ideas? Pagano: Can you recompile the full kernel and use it?
« Last Edit: April 17, 2007, 16:37:44 PM by jamon » Logged
sanecyclist
Newbie
*
Offline Offline

Posts: 45


View Profile
« Reply #97 on: April 17, 2007, 16:51:06 PM »

I tried 'insmod kmonte.o' on the device, but it results in this error message:

kmonte.o: The module you are trying to load (kmonte.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.


So it needs to be recompiled in the firmware build environment.
Logged
bytespider
Newbie
*
Offline Offline

Posts: 31


View Profile
« Reply #98 on: April 18, 2007, 16:49:12 PM »

Has anyone else been able to download the new firmware recently? I get either 0b files or 404 pages or no links to download.

Confused! I am. Smiley
Logged
sanecyclist
Newbie
*
Offline Offline

Posts: 45


View Profile
« Reply #99 on: April 18, 2007, 16:58:18 PM »

Hi bytespider, you need to be logged in to get the download links in the Downloads section. The forum attachment doesn't work.
Logged
bytespider
Newbie
*
Offline Offline

Posts: 31


View Profile
« Reply #100 on: April 18, 2007, 20:07:51 PM »

Now why didnt i try that!?
 Huh

lol right lets try getting this on. Oh i've been having problems using a SWSAPUR-5400 with my cable modem.

All i want is to share my internet wirelessly! Is that to much to ask!?
Logged
Bowie
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #101 on: June 06, 2007, 18:01:30 PM »

@ macsat,

finally i received my MGB100 compatible NAS ;-)
Unfortunately I can't download the MGB100v1.zip-file.

Whatsoever, could you check this or let me know any other link to that file?

Many THX in advance

Sil
Logged
MediaMan
Newbie
*
Offline Offline

Posts: 5



View Profile
« Reply #102 on: June 06, 2007, 21:22:09 PM »

When
hitting the "DOWNLOAD" area selction the following is sent
http://www.macsat.com/macsat/component/option,com_docman/Itemid,63/

and instead of the download area
just gettin'
Fatal error: Class 'dmConfig' not found in /customers/macsat.com/macsat.com/httpd.www/macsat/administrator/components/com_docman/classes/DOCMAN_config.class.php on line 88


Can You fix that ?

Tnx, Udo
Logged
pagano
Jr. Member
**
Offline Offline

Posts: 61


View Profile
« Reply #103 on: June 09, 2007, 12:06:24 PM »

Boss is on vacation  Grin

http://www.macsat.com/macsat/component/option,com_smf/Itemid,50/topic,593.msg3325/#msg3325
Logged
MediaMan
Newbie
*
Offline Offline

Posts: 5



View Profile
« Reply #104 on: June 09, 2007, 23:08:52 PM »

Since two full days on vacation ? 
What a workers paradise You live in....  Cheesy
Holiday for me means, that I have to use my Pc at home instead the equipment in the company.

But thanks for the reply, I'll keep patient.

 Another question:
Around the forum i can find lots of pieces for getting the modified image running on my WAP-0007.
But I'm still missing the (golden) hint to avoid building a ramdisk at boot time and turn onn swapping to my HHD.

Can somebody give me a hint ?

I'm using a WAP-0007 with a 160 GB HDD
divided into 3 Partitions
hda1 used as system area about 10 GB
hda2 is a 120 MB swap area
hda3 is the rest of the disk for Data storage
1. I've upgraded my WAP using the original Image from Level-One called WAP-0007(R4.00b8)_2006-10-02.BIN transferred via TFTP
2. the upgrade via WEB-Interface to "upgrade.img" from the version 3
3. then I untared using tar -xzf /mnt/D/UsbFS-3.tar.gz to /mnt/C  the USB-filesystem

After reboot i was able to use the upgraded busybox but i'm stuck on getting rid of the ramdisk
# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1                   7931       1128         6803  14% /root/ramroot
/dev/hda1              9612252     12800    9111172   0% /
/dev/hda1              9612252     12800    9111172   0% /mnt/C
/dev/hda3          144081608       4776 136757896   0% /mnt/D
/dev/hda1              9612252     12800    9111172   0% /share/USB
/dev/hda1              9612252     12800    9111172   0% /share/C
/dev/hda3           144081608      4776 136757896   0% /share/D

Any advise on this ?

Thanks, Udo

Logged
Pages: 1 ... 5 6 [7] 8   Go Up
  Print  
 
Jump to:  

English Steel 1.6 Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.137 seconds with 24 queries.