I'm trying to boot a very small Debian installation onto my calculator. I made it much more small than it ordinarily would be by removing documentation, certain programs, and other unnecessary data for a non-networked calculator. However, I consistently get an error when I try to boot Linux via my initrd. My initrd's size is 39849984 bytes (equivalent to 38 MiB or 39.85 MB), which should be well under the limit of 40 MB according to the README. The only thing I can think is that my initrd is too large, but this seems like it should not be the case because of the guarantee in the README.
Here's what the error says (transcribed from my calculator screen):
Linux in-place bootloader v2 (ba0d0fa)
Build date: Sun, 23 Feb 2014 19:18:37 +0100
Allocated memory:
DTB/ATAGS: 16128 bytes
Kernel and initrd: 22675456 bytes
Machine number: 4443
Detected a CX
Physical memory at: 0x10000000-0x14000000
Serial number: 4461523260 rev0 (Non-CAS)
# rdsize 87030000
kernel linux/zImage.tns
Kernel successfully loaded
initrd linux/initrd.tns
Initrd too large!
Tried to load initrd needing 39852792 bytes into 20646872 bytes of free space
Original initrd size was 39849984 bytes
dtb linux/nspire-cx.dtb.tns
DTB successfully loaded
cmdline root=/dev/ram
Kernel command line: "root=/dev/ram"
boot
Is the problem really that my initrd is too large? If so, exactly how small does it need to be?
I'm trying to boot a very small Debian installation onto my calculator. I made it much more small than it ordinarily would be by removing documentation, certain programs, and other unnecessary data for a non-networked calculator. However, I consistently get an error when I try to boot Linux via my initrd. My initrd's size is
39849984 bytes(equivalent to38 MiBor39.85 MB), which should be well under the limit of40 MBaccording to the README. The only thing I can think is that my initrd is too large, but this seems like it should not be the case because of the guarantee in the README.Here's what the error says (transcribed from my calculator screen):
Is the problem really that my initrd is too large? If so, exactly how small does it need to be?