Created
August 30, 2009 19:10
-
-
Save rtucker/178083 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# lspci -vvv -s 01:00.0 | |
# 01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF | |
# [...] | |
# Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M] | |
# allowing 0x100000 (1MiB) for "other stuff", we specify the range | |
# as starting from 0xf8100000 and going for 0x3f00000 (63MiB). | |
echo Loading slram module... | |
modprobe slram map=VRAM,0xf8100000,+0x3f00000 | |
echo Loading mtdchar/mtdblock modules... | |
modprobe mtdchar | |
modprobe mtdblock | |
echo Initializing swap... | |
mkswap /dev/mtdblock0 | |
echo Activating swap... | |
swapon -p 100 /dev/mtdblock0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment