View Single Post
Old 08-18-2015, 05:04 AM   #47
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
Quote:
Originally Posted by knc1 View Post
1) You can't disable "support for swap" in the kernel build, at least not in the most recent kernel versions that I have seen Amazon using (which would be prior to 5.6.5).
Interestingly I found CONFIG_SWAP option in /proc/config.gz and it's set to y, so swap is technically enabled in the YifanLu's 2.6.22 kernel which is on 2/DX with 3.x FW. So, swap is compiled-in, however memory is set firm to 128 MB in config:

Code:
CONFIG_CMDLINE="console=ttymxc0,115200 mem=128M ro ip=none root=/dev/mmcblk0p1 lpj=2654208 panic=10 quiet"
The same is in dmesg:

Code:
Kernel command line: console=ttymxc0,115200 mem=128M ro ip=none root=/dev/mmcblk0p1 lpj=2654208 panic=10 quiet
According to http://archive.oreilly.com/pub/a/lin...eference.html:
Quote:
Name
mem — Force memory usage.

Synopsis
mem= n[KMG]

Set the specific ammount of memory used by the kernel. [...] n specifies the amount of memory to force [...].
Having swap on DX is getting even more complicated, it seems.
newman is offline   Reply With Quote