Re: Help with rtl-lwip-0.6
[email protected] Tue, 2 May 2006 13:36:43 +0900 (JST)
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <[email protected]> |
In order to Dynamics Memory, I use TLSF-1.3.1 that come with
rtlinux-3.2-rc2 package(This package from OCERA). I got a problem while
I insert module rtl_malloc.o.
[root@ss-pc187 modules]# insmod rtl_malloc.o
rtl_malloc.o: unresolved symbol bigphysarea_free
rtl_malloc.o: unresolved symbol bigphysarea_alloc
My system is linux-2.4.29 VS rtlinux-3.2-rc2 patch with
kernel_patch-2.4.29-rtl3.2-rc1-bigphys in Redhat 8.0 ( gcc 3.2 ).
When I installed, I config my kernel like this.
Diable: Symetric multi-processing support
Enable: support for bigphysical area reservation ( for dynamic memory )
I also adding bigphysarea in my /etc/lilo.conf
//---------------- lilo.conf -------------------------
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdd=ide-scsi root=LABEL=/"
image=/boot/rtlinux
label=rtlinux
root=/dev/hda2
read-only
append="bigphysarea=1024"
//-----------------------------------------------------------
After I install rtlinux I check for bigphysarea by this command.
[root@ss-pc187 rtlinux-3.2-rc1]# cat /proc/bigphysarea
Big physical area, size 4096 kB
free list: used list:
number of blocks: 1 0
size of largest block: 4096 kB 0 kB
total: 4096 kB 0 kB
Anyone know why I cannot insert rtl_malloc.o.
Thank you very much.
Vasin
//------------------------- original message ---------------------------
> you can use the dynamic memory allocator (from ocera) located in
> rtl_malloc.o. it is also used by the redd-network drivers (if you need
> some examples). to my mind the c++ allocator is based on this! but i'm
> not sure whether c++ itself currently works under rtlinux. if you don't
> depend on c++ it would be the easy way to use c instead.
>
> FloB
>
> _______________________________________________
> Rtl mailing list
> [email protected]
> http://hq.fsmlabs.com/mailman/listinfo/rtl
> http:/www.rtlinux-gpl.org/
>
_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/