Skip to contentSkip to conversation

mips: PMC MSP71xx mips common

PATCH Marc St-Jean 1 participant 1 message Feb 23, 2007 MIPS

lore
Share & tools
lore
#0 lore raw
Quoted 40 lines · David Daney
Quoted 39 lines · Marc St-Jean
Quoted 20 lines · Sergei Shtylyov

Hello.

Quoted 14 lines · Marc St-Jean

[PATCH 2/5] mips: PMC MSP71xx mips common

Patch to add mips common support for the PMC-Sierra MSP71xx devices.

These 5 patches along with the previously posted serial patch will boot the PMC-Sierra MSP7120 Residential Gateway board.

arch/mips/Kconfig +0 -0
index 5da6b0d..d512389 100644

[...]

Quoted 12 lines

arch/mips/Kconfig

Quoted 10 lines
arch/mips/Kconfig +10 -0
+menu "Options for PMC-Sierra MSP chipsets"
+     depends on PMC_MSP
+
+config PMC_MSP_EMBEDDED_ROOTFS
+     bool "Root filesystem embedded in kernel image"
+     select MTD
+     select MTD_BLOCK
+     select MTD_PMC_MSP_RAMROOT
+     select MTD_RAM
+

Hm, why not just use initramfs?

I investigated this as part of an earlier thread. Initramfs is not a read-only "ROM" fs but a compressed writable fs. Once expanded it will take more memory.

Quoted 6 lines
Quoted 4 lines

To lower memory usage for embedded usage of our devices we've added a method to embedded cramfs/squashfs file systems into the kernel image.

Why not just run the cramfs/squashfs on a standard mdtblock device?

We and our customers do that as well but it's handy to have a single RAM-based image to download during early development.

MArc

Quoted 6 lines
Quoted 5 lines

I've made sure it was unobtrusive and that no linker script changes, etc. were required.