[#4090] XIP can't work in flash
Submitted By: Vivi Li
Open Date
2008-05-07 03:34:32 Close Date
2010-02-10 03:47:16
Priority:
Medium Assignee:
Bernd Schmidt
Barry Song
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-rc8
App binary format:
N/A
Summary: XIP can't work in flash
Details:
XIP can not work properly in parallel nor flash. Root was mounted as romfs, but it failed after dma_alloc_init.
XIP(ROMFS_FS) and parallel nor flash are enabled in kernel, and ramfs is disabled. Disable other unrelated options to reduce size.
The process is to write rootfs.romfs into flash and run kernel vmImage with bootargs "root=/dev/mtdblock2 rootfstype=romfs ro". Both formats of fdpic and shared-flat in bf537-stamp are tested.
Kernel and user configs of fdpic format are attached.
Bellow is the log with fdpic format:
--
bfin> tftp 0x1000000 rootfs.romfs
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'rootfs.romfs'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################################################
done
Bytes transferred = 2638848 (284400 hex)
bfin> protect off 0x20120000 0x203effff
............................................. done
Un-Protected 45 sectors
bfin> erase 0x20120000 0x203effff
............................................. done
Erased 45 sectors
bfin> cp.b 0x1000000 0x20120000 0x284400
Copy to Flash... done
bfin> tftp 0x1000000 vmImage
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'vmImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
######################################
done
Bytes transferred = 859644 (d1dfc hex)
bfin> set bootargs root=/dev/mtdblock2 rootfstype=romfs ro
bfin> bootm 0x1000000
## Booting image at 01000000 ...
Image Name: Linux-2.6.24.5-ADI-2008R2-pre-sv
Created: 2008-05-07 6:12:38 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 859580 Bytes = 839.4 kB
Load Address: 00001000
Entry Point: 00172000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 172000
Linux version 2.6.24.5-ADI-2008R2-pre-svn4705 (test@Linux165-ViviLi) (gcc version 4.1.2 (ADI svn)) 8
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001044d0
rodata = 0x00104600-0x001507b4
bss = 0x001507c0-0x0015ea84
data = 0x0015ea84-0x00172000
stack = 0x00170000-0x00172000
init = 0x00172000-0x0018d000
available = 0x0018d000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock2 rootfstype=romfs ro
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console [ttyBF0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55172k/65536k RAM, (108k init code, 1037k kernel code, 439k data, 1024k dma, 7756)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (15 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 48 KB (41 KB free)
Security Framework initialized
Mount-cache hash table entries: 512
net_namespace: 64 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ROMFS MTD (C) 2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(md)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using physmap partition information
Creating 4 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00120000 : "Kernel"
0x00120000-0x003f0000 : "RootFS"
0x003f0000-0x00400000 : "MAC Address"
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500,7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 10:27:39 UTC (37659)
ROMFS: Mounting image 'rom 48214880'
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 108k freed
dma_alloc_init: dma_page @ 0x0018a000 - 256 pages at 0x03f00000
Unable to load executable
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
--
Bellow is the process and log with shared-flat format:
--
bfin> tftp 0x1000000 rootfs.romfs
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'rootfs.romfs'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 2360320 (240400 hex)
bfin> protect off 0x20120000 0x203effff
............................................. done
Un-Protected 45 sectors
bfin> erase 0x20120000 0x203effff
............................................. done
Erased 45 sectors
bfin> cp.b 0x1000000 0x20120000 0x240400
Copy to Flash... done
bfin> tftp 0x1000000 vmImage
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'vmImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#######################################
done
Bytes transferred = 860292 (d2084 hex)
bfin> set bootargs root=/dev/mtdblock2 rootfstype=romfs ro
bfin> bootm
## Booting image at 01000000 ...
Image Name: Linux-2.6.24.5-ADI-2008R2-pre-sv
Created: 2008-05-06 9:59:43 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 860228 Bytes = 840.1 kB
Load Address: 00001000
Entry Point: 00172000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 172000
Linux version 2.6.24.5-ADI-2008R2-pre-svn4705 (test@Linux165-ViviLi) (gcc version 4.1.2 (ADI svn)) 8
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001044d0
rodata = 0x00104600-0x001509f4
bss = 0x00150a00-0x0015ecc4
data = 0x0015ecc4-0x00172000
stack = 0x00170000-0x00172000
init = 0x00172000-0x0018d000
available = 0x0018d000-0x037ff000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Reset caused by Software reset
Blackfin support (C) 2004-2008 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables for global access
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock2 rootfstype=romfs ro
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
console [ttyBF0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55172k/65536k RAM, (108k init code, 1037k kernel code, 439k data, 1024k dma, 7756)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (15 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 48 KB (41 KB free)
Security Framework initialized
Mount-cache hash table entries: 512
net_namespace: 64 bytes
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ROMFS MTD (C) 2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
bfin_mac_mdio: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(md)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using physmap partition information
Creating 4 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "Bootloader"
0x00040000-0x00120000 : "Kernel"
0x00120000-0x003f0000 : "RootFS"
0x003f0000-0x00400000 : "MAC Address"
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500,7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-01 10:56:23 UTC (39383)
ROMFS: Mounting image 'rom 48202c4b'
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 108k freed
dma_alloc_init: dma_page @ 0x0018a000 - 256 pages at 0x03f00000
Unable to mmap process text, errno 38
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
--
The error messages are from binfmt_flat.c and binfmt_elf_fdpic.c in linux-2.6.x/fs/.
Follow-ups
--- Mike Frysinger 2008-09-25 02:11:15
you have to disable CONFIG_ROMFS_MTD_FS and then it'll work fine ... ive updated
the docs:
docs.blackfin.uclinux.org/doku.php?id=linux-kernel:xip
--- Bernd Schmidt 2008-09-25 05:01:19
Huh? ROMFS_MTD_FS is the only XIP filesystem we have. The bug is quite
probably valid.
--- Mike Frysinger 2008-09-25 05:08:53
sorry, i misunderstood the ROMFS relationship. an easier way to test is to boot
up the system like normal and then attempt to mount the NOR file system on /mnt
and execute from there. you'll get the same crash.
--- Bernd Schmidt 2009-09-03 10:36:42
Should be fixed now, for the no-MPU case. I'll fix MPU later.
--- Vivi Li 2009-09-18 03:07:51
For no-MPU case, I still fail to test xip on nor flash. Bellow is the log and
config file is attached.
--
bfin> tftp 0x1000000 rootfs.romfs
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'rootfs.romfs'.
Load address: 0x1000000
Loading: #################################################################
############################################################
done
Bytes transferred = 1828864 (1be800 hex)
bfin> protect off 0x201C0000 0x203EFFFF
................................... done
Un-Protected 35 sectors
bfin> erase 0x201C0000 0x203EFFFF
................................... done
Erased 35 sectors
bfin> cp.b 0x1000000 0x201C0000 0x1be800
Copy to Flash... done
bfin> tftp 0x1000000 vmImage
Using Blackfin EMAC device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'vmImage'.
Load address: 0x1000000
Loading: ###########################################################
done
Bytes transferred = 856445 (d117d hex)
bfin> set bootargs root=/dev/mtdblock2 rootfstype=romfs ro
bfin> bootm 0x1000000
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf537-2.6.30.5-ADI-2010R1-pre-sv
Created: 2009-09-17 9:41:16 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 856381 Bytes = 836.3 kB
Load Address: 00001000
Entry Point: 0017c4f0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 0017c4f0
console [ttyBF0] enabled, bootconsole disabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 55180k/65536k RAM, (112k init code, 1012k kernel code, 464k
data, 1024k dma, 7744k reserved)
Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (37 KB free)
net_namespace: 296 bytes
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 107
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1,
mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using physmap partition information
Creating 4 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "bootloader(nor)"
0x000000040000-0x0000001c0000 : "linux kernel(nor)"
0x0000001c0000-0x0000003f0000 : "file system(nor)"
0x0000003f0000-0x000000400000 : "MAC Address(nor)"
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0,
regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-02-20 08:09:10 UTC (4349350)
VFS: Mounted root (romfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 112k freed
dma_alloc_init: dma_page @ 0x0018d000 - 256 pages at 0x03f00000
(It hangs here)
--
--- Bernd Schmidt 2009-09-19 09:44:53
Can you enable the debugging options at the top of binfmt_flat.c and try again?
It would be good to see what's going on there.
--- Vivi Li 2009-09-21 00:37:44
Only fdpic format can not work and shared-flat is OK. So I modify
binfmt_elf_fdpic.c.
Bellow is the log for fdpic format:
--
Starting Kernel at = 00188530
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (37 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 107
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
Serial: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0x0 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1,
mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
physmap platform flash device: 00400000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Using physmap partition information
Creating 4 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "bootloader(nor)"
0x000000040000-0x0000001c0000 : "linux kernel(nor)"
0x0000001c0000-0x0000003f0000 : "file system(nor)"
0x0000003f0000-0x000000400000 : "MAC Address(nor)"
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0,
regs_base@ffc00500, dma channel@7
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-08-06 19:52:05 UTC (18820325)
VFS: Mounted root (romfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 112k freed
dma_alloc_init: dma_page @ 0x02110000 - 256 pages at 0x03f00000
FDPIC ____ LOAD 1 ____
FDPIC Using ELF interpreter /lib/ld-uClibc.so.0
FDPIC [LOAD] va=0 of=0 fs=280c ms=280c
FDPIC mmap[2] <file> sz=280c pr=5 fl=1802 of=0 --> 20314ce0
FDPIC [LOAD] va=680c of=280c fs=378 ms=3b0
FDPIC mmap[3] <file> sz=bbc pr=3 fl=1802 of=2000 --> 0211a000
FDPIC clear[3] ad=211a000 sz=80c
FDPIC clear[3] ad=211ab84 sz=38
FDPIC Mapped Object [executable]:
FDPIC - elfhdr : 20314ce0
FDPIC - entry : 20315f28
FDPIC - PHDR[] : 20314d14
FDPIC - DYNAMIC[]: 211a820
FDPIC - LOAD[0] : 20314ce0-203174eb [va=0 ms=280c]
FDPIC - LOAD[1] : 0211a80c-0211abbb [va=680c ms=3b0]
FDPIC [LOAD] va=0 of=0 fs=702c ms=702c
FDPIC mmap[0] <file> sz=702c pr=5 fl=802 of=0 --> 20275ac0
FDPIC [LOAD] va=b02c of=702c fs=3a4 ms=450
FDPIC mmap[1] <file> sz=47c pr=3 fl=802 of=7000 --> 0211c000
FDPIC clear[1] ad=211c000 sz=2c
FDPIC clear[1] ad=211c3d0 sz=ac
FDPIC Mapped Object [interpreter]:
FDPIC - elfhdr : 20275ac0
FDPIC - entry : 20276c20
FDPIC - PHDR[] : 20275af4
FDPIC - DYNAMIC[]: 211c0b8
FDPIC - LOAD[0] : 20275ac0-2027caeb [va=0 ms=702c]
FDPIC - LOAD[1] : 0211c02c-0211c47b [va=b02c ms=450]
FDPIC - start_code 20314ce0
FDPIC - end_code 203174ec
FDPIC - start_data 211a80c
FDPIC - end_data 211abbc
FDPIC - start_brk 2120000
FDPIC - brk 2120000
FDPIC - start_stack 213fef0
--
--- Barry Song 2009-12-24 00:10:10
vivi:
The bug should have been fixed by Bernd in fdpic mode. I can pass the two
cases:
1. using initramfs, mount a flash partition and run, success
2. using romfs as rootfs directly, success, log:
root:/> mount
rootfs on / type rootfs (rw)
/dev/root on / type romfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
mdev on /dev type tmpfs (rw,nosuid,relatime,mode=0755,size=10M)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
var on /var type ramfs (rw,relatime)
tmp on /tmp type tmpfs (rw,nosuid,nodev,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
root:/> uname -a
Linux blackfin 2.6.32-ADI-2010R1-pre-svn8000 #72 Thu Dec 24 12:31:38 CST 2009
blackfin GNU/Linux
-barry
--- Vivi Li 2010-02-10 03:46:40
OK, close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.user.fdpic text/plain 44771 Vivi Li
config.kernel.fdpic text/plain 19796 Vivi Li
config.xip.fdpic_9.18 application/octet-stream 27164 Vivi Li