From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marc-F. LUCCA-DANIAU" Subject: What device for ROMFS ? Date: Mon, 23 May 2016 19:09:07 +0200 Message-ID: <57433933.9070907@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=0z7yCBNvpuVxLnLmN0/JGVOjPB0aaiFaQJnNvAJ3bTI=; b=zugusQCQOaz9ixx7SbnwspNM29otZSXiupaXBqN1hD+oUc/pW1uwCiEWtPhmvrwjeh bX3GtZuyWr7VqmIl0Iv4rkyh4UoJzX30iIA9jtdIbQw2dXx+OtC8sX2CKUrIuiqRu4g+ aAWUO2QGA7ViBs703Z6M5kfnc9dPvHmwzl2OWl9Qsr5/TZQgwdzk2ha3lWZXJtRsk2Rq /nyyYhw/ewKH83RTBt+K8JuSDTYuK1vGzfSQvZVxJ4uixxA6e1Fx/hHv5SvCxg6q3r/l VO5gHn5IGc21PcRT/uZoWL3hiR6VJGhk1NNZK7q4EoZgnigY8RxYXk8IF05a0lLpbqBY 2evA== Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: ELKS Hello, In a few words: what is the device to be used for a ROMFS root ? More: I configured ELKS as a ROM image for an embedded system, and I run it under EMU86, but I cannot figure out: 1- how to tell ELKS to read the ROMFS superblock from ROM address space? 2- how to build a ROMFS image to put in the ROM address space? All my tries end up with the well known: $ ./emu86 -w 0xe0000 -f ../../elks/elks/arch/i86/Image -x 0xe000:0x42 -i $ ./pcat `cat emu86.pts` Loading kernel image... Console: BIOS 10x115 emulating ANSI (3 virtual consoles) PC/AT class machine, inode! CPU8308K base RAM, CPUID `nd socket for in'. ELKS kernel (39008 text + 4168 data + 48648 bss) Kernel text at e062:0000, data at 90:0000 62 K of memory for user processes. ELKS network sockets TCP/IP stack by Harry Kalogirou ELKS version 0.2.0 panic: VFS: Unable to mount root fs on 206D apparent call stack: Line: Addr Parameters~~~~: ~~~~ ~~~~~~~~~~ 0: 1D59 => 0000 7102 0000 0000 0000 0000 0000 1: 00B7 => 0000 0000 0000 0000 0000 0000 0000 2: 0000 => CE50 0000 0000 0001 0000 6166 6C69 3: 1048 => 0000 0000 0000 0000 0000 0000 0000 4: 0000 => CE50 0000 0000 0001 0000 6166 6C69 5: 1048 => 0000 0000 0000 0000 0000 0000 0000 6: 0000 => CE50 0000 0000 0001 0000 6166 6C69 7: 1048 => 0000 0000 0000 0000 0000 0000 0000 8: 0000 => CE50 0000 0000 0001 0000 6166 6C69 SYSTEM LOCKED - Press CTRL-ALT-DEL to reboot: Any suggestion ? Thanks, MFLD