1
5x00 Hardware / SL-5500 Memory Limits?
« on: October 25, 2008, 10:29:48 am »
largest ive tried is 1gb and had no trouble with that
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Linux version 2.4.18-rmk7-pxa3-embedix-021129 (sash@pdaX86) (gcc version 2.95.3 20010315 (release)) #1 Tue, 27 Dec 2005 21:07:30 +0000
CPU: Intel StrongARM-1110 revision 9
Machine: Sharp-Collie
Security risk: creating user accessible mapping for 0x00000000 at 0xe8000000
Security risk: creating user accessible mapping for 0x08000000 at 0xea000000
Security risk: creating user accessible mapping for 0xc2000000 at 0xf2000000
Security risk: creating user accessible mapping for 0x40000000 at 0xf0000000
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock4 rootfstype=jffs2 mem=64M jffs2_orphaned_inodes=delete
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
Calibrating delay loop... 137.21 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62096KB available (1898K code, 385K data, 80K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky
GA Chip: L1
UCB1200 generic module installed
suspend temp = 489
RCSR = 2
suspend main adc = 608(608)
fatal chk = 391
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.14)
apm: Current AC Status : 1
batok installed
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
comadj = 114,44414d43,44414d43
Console: switching to colour frame buffer device 60x53
Collie frame buffer driver initialized.
keyboard initilaized.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
COLLIE serial driver version 1.3
ttyS0 on SA1100 UART3 (irq 17)
ttyS1 on SA1100 UART1 (irq 15)ttyS2 on SA1100 UART2 (irq 16), using IRDA
touch adj= 18147,25023,-1572864,-3014656
ucb1200 touch screen driver initialized
sharpled_init: done.
SA1100 Real Time Clock driver v1.00
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP BSD Compression module registered
ide_cs.c 1.26 1999/11/16 02:10:49 (David Hinds)
Collie Sound Driver Installed
TC35143F audio driver initialized
MTD Sharp chip driver
SA1100 flash: probing 32-bit flash bus
Using static partition definition
Creating 6 MTD partitions on "SA1100 flash":
0x00000000-0x00020000 : "Angel Monitor"
0x00020000-0x00040000 : "CF Updater"
0x00040000-0x000c0000 : "Diagnostics"
0x000c0000-0x001c0000 : "kernel"
0x001c0000-0x00fe0000 : "jffs2"
0x00fe0000-0x01000000 : "angel stuff"
Linux Kernel Card Services 3.1.22
options: [pm]
SA-1100 PCMCIA (CS release 3.1.22)
sa1100_pcmcia_init(0)
sa1100_pcmcia_init(1)
Frontlight Driver Initialized.
BlueZ HCI UART driver ver 2.1 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
BlueZ L2CAP ver 2.3 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky
BlueZ RFCOMM ver 1.0
Copyright (C) 2002 Maxim Krasnyansky
Copyright (C) 2002 Marcel Holtmann
BlueZ BNEP ver 1.1
Copyright (C) 2001,2002 Inventel Systemes
Written 2001,2002 by Clement Moreau
Written 2001,2002 by David Libault
Copyright (C) 2002 Maxim Krasnyanskiy
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
IrCOMM protocol (Dag Brattli)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 80K
Jan 1 05:09:33 syslogd started: BusyBox v1.01 (2005.12.22-14:08+0000)
Jan 1 05:09:33 init: Entering runlevel: 5
Jan 1 05:09:35 survive: cardmgr[100]: watching 2 sockets
Jan 1 05:09:35 cardmgr[100]: watching 2 sockets
Jan 1 05:09:35 pcmcia: cardmgr startup succeeded
Jan 1 05:09:35 sd: sdmgr startup failed
Jan 1 05:09:37 survive:
Jan 1 05:09:37 survive:
Jan 1 05:09:37 ssh: sshd startup succeeded
Jan 1 05:09:38 sshd[186]: Server listening on 0.0.0.0 port 22.
Jan 1 05:09:38 usb: Loading USB modules: succeeded
Jan 1 05:10:13 login[198]: root login on `vc/1'
# ldd /usr/lib/libkgsha.so
libc.so.6 => /lib/libc.so.6 (0x40011000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
#
# ldd /usr/lib/libkgsha.so
libc.so.6 => /lib/libc.so.6 (0x40011000)
/opt/native/arm/2.95.3-armv4l-hardfpa//lib/ld-linux.so.2 => /opt/native/arm/2.95.3-armv4l-hardfpa//lib/ld-linux.so.2 (0x2aaaa000)
#
# ldd /usr/lib/libkgsha.so
libc.so.6 => /opt/native/arm/2.95.3-armv4l-hardfpa/lib/libc.so.6 (0x40012000)
/opt/native/arm/2.95.3-armv4l-hardfpa//lib/ld-linux.so.2 => /opt/native/arm/2.95.3-armv4l-hardfpa//lib/ld-linux.so.2 (0x2aaaa000)
#
# *******************************************************************
# * Copyright (c) 1994-2005 Jetico, Inc., Finland
# * All rights reserved.
# *
# * File: Makefile
# *
# * Description: kgsha makefile
# *
# * Scope: SHA-1 key generator
# *
# * Platforms: Linux
# *
# * Author: Vitaliy Zolotarev
# *
# * Revision: $Id: Makefile,v 1.11 2007/02/08 06:48:34 nail Rel-1.6-13 $
# *
# *******************************************************************/ #
LD = ld -d -shared
CPP=g++
#CPPFLAGS = -fPIC -Wall -Werror -fno-strength-reduce -I../include -g
CPPFLAGS = -fPIC -Wall -fno-strength-reduce -I../include -O2
CPPFLAGS += $(EXTRA_CXXFLAFS)
TARGET = libkgsha.so
HEADERS = kg_defs.h kgsha.h kblock.h sha1.h random.h
OBJ = alg.o kblock.o kg_misc.o kgsha.o pwldlg.o sha1.o random.o
all: $(TARGET)
%.o: %.cpp
$(CPP) $(CPPFLAGS) -c -o $@ $<
$(TARGET): $(OBJ)
$(LD) $(OBJ) -soname $(TARGET) -o $(TARGET) -lc
cp -f $(TARGET) ../lib
# cp -f $(HEADERS) ../include
clean:
rm -f *.o *.ver *~ $(TARGET)
AsIDE will now automatically create an Intel-HEX format file after every build.
I'm getting getting a linker error undefined reference to `__divsi3' when I build my application. Why?
You need to link in the library libgcc.a. Within AsIDE:
1. Select Project|Project Properties|Tools
2. Select Link in the Tool name list
3. Click the Options... button
4. Add the following line to Libraries/Objects:
-L %(GCC_EXEC_PREFIX)\arm-elf\3.3.1 -lc -lgcc
Where -lgcc is shorthand for libgcc.a. AsIDE will now automatically link in libgcc.a after every build.