Or drop some application modules from the flash. Build them separately and install them on the hdd. You can start them automatically by adding some startup code in services.c
Or drop some application modules from the flash. Build them separately and install them on the hdd. You can start them automatically by adding some startup code in services.c
ok I think i've been as far as I can go for now:
I have been able to create a working firmware, and it started correctly.
I have not disabled anything, except NTFS support (not need for my disk ATM) and webcam drivers.
The wl hdd boot correctly, and work correctly, but a lsmod doesn't show my ide, as planned. If I go to the /lib.....2.40.../ide folder and try an insmod ide-mod.o, the router automaticaly reboot.
I don't want to run it automaticaly as it will probably put the router in an infinite reboot loop.
Problem is that I cannot get any error message due to the reboot.
Any idea?
I got better: Using the ide-mod.o and ide-disk.o from the compiled hdd firmware, I can insmod.
I still cannot do an insmod ide-probe-mod.o as I get the HDD light always on, and the wlhdd hang from that.
I don't know if the first 2 mods are enough to get access to hdd. I think I have to try a makedevs? but I cannot find the syntax for the command. Is there a way to see if I have access to hd if I don't have any /dev/hdxx ?
EDIt: I can make the devs, but it's not enough
If I insmod the compiled ide-probe-mod.o, i get the error "segmentation fault", probably because they haven't been compiled at the same time. I have this module marked as loading if I lsmod.
Here are some other result:
I have also a ide device in my dev folder but nothing elseCode:[admin@(none) ide]$ cat drivers ide-disk version 1.12 [admin@(none) ide]$ cat pdc202xx PROMISE Ultra series driver Ver 1.20.0.7 2002-05-23 Adapter: Ultra100 on M/B --------------- Primary Channel ---------------- Secondary Channel ------------- enabled enabled 66 Clocking disabled disabled Mode PCI PCI --------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------ DMA enabled: no no no no UDMA Mode: 0 0 0 0 PIO Mode: 0 0 0 0
Last edited by hugo; 24-10-2004 at 21:47.
Check /proc/partitions content.
nope, I only get my USB pendrive.
What I do not understand is why the modules from the wlhdd firmware do work, and not the one from the wl500g. Looking at the source, there is no difference between the ide folder from hdd kernel and the one from wl500. What other file could then be involved in the making of ide-mod.o or ide-probe-mod.o?
I also tried ALL non network related lines from the wlhdd .config file. Same result. I don't know where it could be a difference now between the 2 kernels.
Could somebody give me some help on where to look to find how to make the ide work?
Here are some questions:
does the ide support depend on something outside the kernel folder?
Does it depend on any other file than .config , if the source are the same?
If the /driver/ide folder is the same, can there be a difference in the compilation options that would make it work?
Also, I would like to understand why an ide-mod.o from wl hdd firmware can install under oleg's firmware modification, but not the one from the normal make process (ie from oleg's make)
Is anybody working on the same thing than me right now so we could share some info?
Thanks for any help.