Skip to content

Instantly share code, notes, and snippets.

@couchemar
Created December 6, 2013 13:35
Show Gist options
  • Select an option

  • Save couchemar/7823902 to your computer and use it in GitHub Desktop.

Select an option

Save couchemar/7823902 to your computer and use it in GitHub Desktop.
Swap in video ram
modprobe slram map=VRAM,0xd0400000,+0xfc00000
modprobe phram phram=VRAM,0xd0400000,0xfc00000
modprobe slram slram=mtd0,0xd0400000,+0xfc00000
modprobe mtdchar
mknod /dev/mtd0 c 90 0
modprobe mtdblock
mknod /dev/mtdblock0 b 31 0
mkswap /dev/mtdblock0
swapon /dev/mtdblock0 -p 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment