Sorry,
Ignore that last reply - that's only necessary if you're overwriting the
root filesystem located at 0x60000000 (in which case you'd start writing
at 0x4000)
... sorry to get wildly off topic from the PWC list ;-)
Chris
Christopher Friedt wrote:
> Please note that 0x4000 is an OFFSET from the base of the flash... the
> first 0x4000 bytes (0x0 - 0x3999) contain very important pieces of data
> for redboot to properly function. Do not overwrite them!!
>
> ~/Chris
>
> Christopher Friedt wrote:
>> Hi David,
>>
>> Maybe I should be a bit more specific:
>>
>> =====================================================
>>
>> Multimedia devices --->
>> <M|*> Video for Linux
>> (I would also suggest )
>> [*] V4L information in proc filesystem
>>
>> USB Support --->
>> --- USB Multimedia devices
>> <M|*> USB Philips Cameras
>>
>> =====================================================
>>
>> Also, I'm not sure if you're using the stock TS kernel or what, but in
>> order to access anything USB you have to insert a few modules ahead of
>> time (note: for usb storage, add scsi_mod sd_mod usb-storage to the end
>> of the list).
>>
>> for i in usbcore pcipool usb-ohci \
>> usb-ohci-ep93xx v4l pwc ; do \
>> insmod $i;
>> done
>>
>> Then, I would mount the usbfs
>>
>> mount -t proc proc /proc (if not already mounted)
>> mount -t usbfs usbfs /proc/bus/usb
>>
>> Let me know if you have any problems. I've found that just building all
>> of the above mentioned modules into the kernel greatly reduces the size
>> of modules on the filesystem. Not only that, but TS' kernel / busybox's
>> insmod are somehow strictly versioned. I would suggest instead just
>> building everything in to the kernel and burn it into flash at 0x4000 to
>> avoid size / versioning problems later.
>>
>> ~/Chris
>>
>>
>> David Topper wrote:
>>> Hi all,
>>>
>>> Yes, I should upgrade all my kernels ... but I don't have time at the
>>> moment. Deadline approaching. So I'm hoping I can find a way to get
>>> this driver to compile on both my laptop and TS-7200 SBC.
>>>
>>> In any case, when I try to compile the module currently, I get the
>>> following error:
>>>
>>> make -C /home/src/pwc-10.0.11 CFLAGS="-D__KERNEL__
>>> -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
>>> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
>>> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
>>> -DMODULE -DMODVERSIONS -include
>>> /usr/src/linux-2.4.22/include/linux/modversions.h" MAKING_MODULES=1
>>> modules
>>> make[2]: Entering directory `/home/src/pwc-10.0.11'
>>> make[2]: *** No rule to make target `modules'. Stop.
>>> make[2]: Leaving directory `/home/src/pwc-10.0.11'
>>> make[1]: *** [_mod_/home/src/pwc-10.0.11] Error 2
>>> make[1]: Leaving directory `/usr/src/linux-2.4.22'
>>> make: *** [all] Error 2
>>>
>>> and if I comment out the "modules" directive from the makefile, I get
>>> other errors (eg., from make install):
>>>
>>> make[1]: Leaving directory `/usr/src/linux-2.4.22'
>>> install -d /lib/modules/2.4.22/kernel/drivers/usb/media
>>> install -m 644 -c pwc.ko /lib/modules/2.4.22/kernel/drivers/usb/media
>>> install: cannot stat `pwc.ko': No such file or directory
>>> make: *** [install] Error 1
>>>
>>> Thanks,
>>>
>>> DT
>>>
> _______________________________________________
> pwc mailing list
>
> http://lists.saillard.org/mailman/listinfo/pwc
>
>
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|