mtdblock kernel driver

japie
Attachment: kernelconfig.txt (28.67 KB)
Hello,

I've got a working buildroot system on sd-card but are working to get it on
flash.
Somehow I seem to forgot something in my kernel config since there is no
/dev/mtdblock* device present, can someone help me out on selecting the
proper kernel drivers?

Uncompressing
Linux...........................................................................
.......
done, booti.
Linux version 2.6.32.2-bfs-FriendlyARM (root@ubuntu) (gcc version 4.4.4
(Buildroot 2010.08) ) #13 PREEMPT Sun Feb1
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177                   
                                      
CPU: VIVT data cache, VIVT instruction cache                               
                                      
Machine: FriendlyARM Mini2440 development board                            
                                      
Memory policy: ECC disabled, Data cache writeback                          
                                      
CPU S3C2440A (id 0x32440001)                                               
                                      
S3C24XX Clocks, (c) 2004 Simtec Electronics                                
                                      
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz       
                                      
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on                       
                                      
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256 
                                      
Kernel command line: root=/dev/mtdblock3 rootfstype=jffs2
console=ttySAC0,115200                                  
PID hash table entries: 256 (order: -2, 1024 bytes)                        
                                      
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)              
                                      
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)               
                                      
Memory: 64MB = 64MB total                                                  
                                      
Memory: 62188KB available (2340K code, 262K data, 80K init, 0K highmem)    
                                      
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1    
                                      
Hierarchical RCU implementation.                                           
                                      
NR_IRQS:85                                                                 
                                      
irq: clearing pending status 02000000                                      
                                      
irq: clearing subpending status 00000002                                   
                                      
Console: colour dummy device 80x30                                         
                                      
console [ttySAC0] enabled                                                  
                                      
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)                     
                                      
Mount-cache hash table entries: 512                                        
                                      
CPU: Testing write buffer coherency: ok                                    
                                      
devtmpfs: initialized                                                      
                                      
NET: Registered protocol family 16                                         
                                      
S3C2440: Initialising architecture                                         
                                      
S3C2440: IRQ Support                                                       
                                      
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics                  
                                      
DMA channel 0 at c4808000, irq 33                                          
                                      
DMA channel 1 at c4808040, irq 34                                          
                                      
DMA channel 2 at c4808080, irq 35                                          
                                      
DMA channel 3 at c48080c0, irq 36                                          
                                      
S3C244X: Clock Support, DVS off                                            
                                      
bio: create slab <bio-0> at 0                                              
                                      
usbcore: registered new interface driver usbfs                             
                                      
usbcore: registered new interface driver hub                               
                                      
usbcore: registered new device driver usb                                  
                                      
s3c-i2c s3c2440-i2c: slave address 0x10                                    
                                      
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz                           
                                      
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter                                
                                      
NET: Registered protocol family 1                                          
                                      
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.                        
                                      
fuse init (API version 7.13)                                               
                                      
msgmni has been set to 121                                                 
                                      
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)       
                                      
io scheduler noop registered (default)                                     
                                      
Console: switching to colour frame buffer device 100x30                    
                                      
fb0: s3c2410fb frame buffer device                                         
                                      
leds    initialized                                                        
                                      
Hello, Mini2440 module is installed !                                      
                                      
buttons initialized                                                        
                                      
pwm     initialized                                                        
                                      
adc     initialized                                                        
                                      
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440 
                                      
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440 
                                      
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440 
                                      
loop: module loaded                                                        
                                      
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                           
                                      
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns      
                                      
s3c24xx-nand s3c2440-nand: NAND soft ECC                                   
                                      
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
8-bit)                                
Scanning device for bad blocks                                             
                                      
Bad eraseblock 552 at 0x000004500000                                       
                                      
Bad eraseblock 952 at 0x000007700000                                       
                                      
Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":                     
                                      
0x000000000000-0x000000040000 : "supervivi"                                
                                      
0x000000040000-0x000000060000 : "param"                                    
                                      
0x000000060000-0x000000560000 : "Kernel"                                   
                                      
0x000000560000-0x000040560000 : "root"                                     
                                      
mtd: partition "root" extends beyond the end of device "NAND 256MiB 3,3V
8-bit" -- size truncated to 0xfaa0000    
0x000000000000-0x000040000000 : "nand"                                     
                                      
mtd: partition "nand" extends beyond the end of device "NAND 256MiB 3,3V
8-bit" -- size truncated to 0x10000000   
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                     
                                      
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI                                    
                                      
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1   
                                      
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000                       
                                      
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001              
                                      
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1         
                                      
usb usb1: Product: S3C24XX OHCI...stripped-down

japie
Sometime live is that simple:

CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y