LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-12-2003, 05:12 AM   #1
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
Question ??SA1110 kernel address help


In kernel 2.4.19 i modified the following addresses and values in the mentioned files . Same thing when i am trying in kernel 2.6 it is not working, how to make it work ,

any suggestions

Please

1) In include/asm-arm/arch-sa1100/memory.h
a) TASK_SIZE 0xC8000000UL //physical address starts from here
b) PHYS_OFFSET 0xC8000000UL
c) PAGE_OFFSET 0xC8000000UL
2) In arch/arm/Makefile
ifeq((CONFIG_ARCH_CPU32),y)
MACHINE = sa1100
endif
TEXTADDR := 0xC8608000//kernel start address
3) In arch/arm/boot/Makefile
ZTEXTADDR = 0xC0008000 // ?
ZRELADDR = 0xC0008000 //?
4) In arch/arm/kernel/head-armv.S
Add
#if 1
mov r1 , #MACH_TYPE_ASSABET
#endif
5) In arch/arm/mach-sa1100/arch.c
a) In fixup_assabet
i)t->u.mem.start = 0xC8000000 from 0xC0000000
ii)t->u.mem.size = 16*1024*1024 from 32*1024*1024
iii)t->u.initrd.start = 0xC8300000 from 0xC0800000
b) BOOT_MEM(0xC8000000,0x80000000,0xf8000000)
BOOT_PARAMS(0xC8000100)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel - Setting up IP address jerryns Programming 1 06-23-2005 07:29 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
get the actual hardware memory address of kernel oops edman007 Linux - General 0 02-24-2005 10:26 PM
Porting linux2.6 on sa1110 cpvjagadeesh Linux - Software 0 11-05-2004 07:32 AM
Kernel Message:unable to handle kernel NULL pointer dereference at virtual address... dave_d Linux - General 0 02-14-2001 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration