|
From: <ke...@us...> - 2007-05-29 22:21:21
|
Revision: 1014
http://svn.sourceforge.net/hackndev/?rev=1014&view=rev
Author: keddar
Date: 2007-05-29 15:21:13 -0700 (Tue, 29 May 2007)
Log Message:
-----------
BFUGarux: fix calculate initrd base address
Modified Paths:
--------------
linux4palm/BFUGarux/garux.h.sh
Modified: linux4palm/BFUGarux/garux.h.sh
===================================================================
--- linux4palm/BFUGarux/garux.h.sh 2007-05-29 18:05:43 UTC (rev 1013)
+++ linux4palm/BFUGarux/garux.h.sh 2007-05-29 22:21:13 UTC (rev 1014)
@@ -41,8 +41,7 @@
echo -n `cat mach.h | grep PHYSICAL_RAM_SIZE | cut -f3 -d\ ` >> garux.h #rcp
if [ "$INITRD" != "" ]; then
echo -n " initrd=" >> garux.h #rcp
- INITRD_BASE_ADDRESS=`echo $RAM_BASE_ADDRESS | cut -f2 -dx`
- base_val=`echo $(($INITRD_BASE_ADDRESS+0400000))`
+ base_val=`echo $(($RAM_BASE_ADDRESS+0x400000))`
INITRD_BASE_ADDRESS=`printf "0x%X" $base_val`
echo -n $INITRD_BASE_ADDRESS >> garux.h #rcp
echo -n ",$NUM_INITRD" >> garux.h #rcp
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|