Aha, good old dmesg. I'd forgotten about that command; it showed me where the missing flash went:

Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x001f0000 : "linux"
0x000be400-0x00190000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary --
 force read-only
0x001f0000-0x00200000 : "nvram"
0x00190000-0x001f0000 : "OpenWrt"

Apparently, the kernel is between 0x40000 and 0xbe400. So why does /proc/mtd show this?

root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "cfe"
mtd1: 001b0000 00010000 "linux"
mtd2: 000d1c00 00010000 "rootfs"
mtd3: 00010000 00010000 "nvram"
mtd4: 00060000 00010000 "OpenWrt"

Less than helpful, for sure. I think CFE can fit in one block easily -- it's less than 4K uncompressed, according to the Firmware Modification Kit dump -- but haven't had any luck with my custom-compiled images using the OpenWRT Buildroot, so have to stick with the arrangement as is, for now.

Ebay seller thehappyninja wouldn't give me any money back on my purchase, even though it wasn't the same product as in the picture. He wanted me to send it back at my expense, and then refund me 85% of the purchase price. Fuck that. I left the fucker a negative. I'm tired of these goddamned "Power Sellers" and their shitty attitudes. I would have left a neutral but for that asshole Adam Reinisch and his pre-emptive negatives. I won't trust anybody with a "Power Seller" rating to be anything but a flaming asshole. Fuck 'em all.

Back to blog or home page

last updated 2013-01-10 20:57:51. served from tektonic