Hello,
I'm using a custom board with a single QSPI S25FL512S on SPIBSC0 with 32 MB of external SDRAM.
I would like to boot a non-XIP kernel with a writeable UBI or EXT3 File system.
Unfortunately, I cannot boot my system...
I've enabled CONFIG_SPI_SH_SPIBSC and I'm using the SAME spibsc params as the RSKRZA1 board.
Am I missing something ?
Here's my bootlog :
Booting Linux on physical CPU 0x0
Linux version 3.14.79-ltsi+ (dylan@dylan-K53SD) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ) #67 Fri Dec 15 15:55:33 CET 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: MIMO
debug: ignoring loglevel setting.
bootconsole [earlycon0] enabled
Memory policy: Data cache writeback
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat c04b66e0, node_mem_map c1fb9000
Normal zone: 64 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 8192 pages, LIFO batch:0
CPU: All CPU(s) started in SVC mode.
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 8128
Kernel command line: console=ttySC2,115200 console=tty0 ignore_loglevel earlyprintk earlycon=scif,0xE8008000 root=/dev/mtdblock0
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 27440K/32768K available (3455K kernel code, 163K rwdata, 1024K rodata, 140K init, 152K bss, 5328K reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc04680a0 (4481 kB)
.init : 0xc0469000 - 0xc048c0ac ( 141 kB)
.data : 0xc048e000 - 0xc04b6f80 ( 164 kB)
.bss : 0xc04b6f80 - 0xc04dcf88 ( 153 kB)
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 16777216000000000ns
Console: colour dummy device 80x30
console [tty0] enabled
bootconsole [earlycon0] disabled
Calibrating delay loop (skipped) preset value.. 266.09 BogoMIPS (lpj=1041666)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x83434c8 - 0x8343520
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x42020000, Cache size: 128 kB
No ATAGs?
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
sh_mtu2 sh-mtu2: ch0: used for clock events
sh_mtu2 sh-mtu2: ch0: used for periodic clock events
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 256 (order: -1, 3072 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 53
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered (default)
io scheduler deadline registered
io scheduler cfq registered
SuperH (H)SCI(F) driver initialized
sh-sci.0: ttySC0 at MMIO 0xe8007000 (irq = 223, base_baud = 0) is a scif
sh-sci.2: ttySC2 at MMIO 0xe8008000 (irq = 231, base_baud = 0) is a scif
console [ttySC2] enabled
sh-sci.4: ttySC4 at MMIO 0xe8009000 (irq = 239, base_baud = 0) is a scif
sh-sci.5: ttySC5 at MMIO 0xe8009800 (irq = 243, base_baud = 0) is a scif
spibsc spibsc.0: timeout waiting for TEND
spibsc spibsc.0: error -110 for command 9f
spibsc_setup: WARNING: Could not detect SPI Flash Device
spibsc_setup: WARNING: This driver was not tested with this SPI Flash
spibsc spibsc.0: timeout waiting for TEND
spi_master spi5: failed to transfer one message from queue
m25p80: probe of spi5.0 failed with error -110
spibsc spibsc.0: probed
sh-eth r7s72100-ether: no valid MAC address supplied, using a random one.
libphy: sh_mii: probed
sh-eth r7s72100-ether eth0: Base address at 0xe8203000, 9e:55:1c:58:46:69, IRQ 359.
r8a66597_hcd r8a66597_hcd.0: USB Host Controller
r8a66597_hcd r8a66597_hcd.0: new USB bus registered, assigned bus number 1
r8a66597_hcd r8a66597_hcd.0: irq 73, io base 0xe8010000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: USB Host Controller
usb usb1: Manufacturer: Linux 3.14.79-ltsi+ r8a66597_hcd
usb usb1: SerialNumber: r8a66597_hcd
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
sh-rtc sh-rtc: rtc core: registered sh as rtc0
i2c /dev entries driver
i2c-riic i2c-riic.0: version 2013-04-19: 100[kbps]
i2c-riic i2c-riic.2: version 2013-04-19: 100[kbps]
at24 3-0051: 16384 byte 24c128 EEPROM, writable, 64 bytes/write
i2c-riic i2c-riic.3: version 2013-04-19: 100[kbps]
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
Key type dns_resolver registered
tfp410: right HDMI port enabled
tfp410: left HDMI port enabled
sh-rtc sh-rtc: setting system clock to 2017-12-15 14:34:06 UTC (1513348446)
VFS: Cannot open root device "mtdblock0" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 3.14.79-ltsi+ #67
[<c0012130>] (unwind_backtrace) from [<c00102bc>] (show_stack+0x10/0x14)
[<c00102bc>] (show_stack) from [<c033eccc>] (panic+0x70/0x1c8)
[<c033eccc>] (panic) from [<c0469f88>] (mount_block_root+0x208/0x250)
[<c0469f88>] (mount_block_root) from [<c046a0bc>] (mount_root+0xec/0x10c)
[<c046a0bc>] (mount_root) from [<c046a200>] (prepare_namespace+0x124/0x184)
[<c046a200>] (prepare_namespace) from [<c0469bb4>] (kernel_init_freeable+0x168/0x1ac)
[<c0469bb4>] (kernel_init_freeable) from [<c033d758>] (kernel_init+0x8/0xe4)
[<c033d758>] (kernel_init) from [<c000dc60>] (ret_from_fork+0x14/0x34)