Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

SPIBSC booting issue

$
0
0

Dear chris,

we are using rz/a2m custom board in which we are trying to enable 2nd qspi for read/write using spibsc driver as per your guidance we have followed the below link and able to build the driver in RZ/A2M

https://patchwork.kernel.org/project/spi-devel-general/cover/20191206134202.18784-1-chris.brandt@renesas.com/

but we are getting can't request region for resource error, please find the below log message from the board.

Net: sh_eth
Hit any key to stop autoboot: 0
Current Mode: Fast Read Mode (3-byte Addr)
SF: Detected mx25l51235f with page size 256 Bytes, erase size 64 KiB, total 64 MiB
New Mode: Quad I/O Read Mode (4-byte Addr)
Booting Linux...
Booting Linux on physical CPU 0x0
Linux version 4.19.19-g32a837b-dirty (mahesh@mahesh-ThinkPad-E470) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #135 Fri Feb 25 13:362
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: RZA2MEVB
debug: ignoring loglevel setting.
Memory policy: Data cache writeback
On node 0 totalpages: 8192
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, mobility grouping on. Total pages: 8128
Kernel command line: ignore_loglevel earlycon rootfstype=axfs root=/dev/null rootflags=physaddr=0x20800000
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 31932K/32768K available (4050K kernel code, 170K rwdata, 1280K rodata, 184K init, 213K bss, 836K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc2800000 - 0xff800000 ( 976 MB)
lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0x(ptrval) - 0x(ptrval) (5331 kB)
.init : 0x(ptrval) - 0x(ptrval) ( 44 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 171 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 214 kB)
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C-310 erratum 769419 enabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x02020000
clocksource: ostm: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 28958491609 ns
sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 32537631224ns
ostm: used for clocksource
ostm: used for clock events
Console: colour dummy device 80x30
console [tty0] enabled
Calibrating delay loop (skipped) preset value.. 1056.00 BogoMIPS (lpj=5280000)
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
CPU0: Spectre v2: using BPIALL workaround
Setting up static identity map for 0xb000200 - 0xb00023c
Detected Renesas RZ/A2 r7s9210
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc+0x144/0x178 with crng_init=0
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
No ATAGs?
pinctrl-rza2 fcffe000.pin-controller: Registered ports P0 - PM
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource ostm
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
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)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
workingset: timestamp_bits=30 max_order=13 bucket_order=0
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
io scheduler mq-deadline registered
vdc5fb fcff7400.display: fcff7400.display: [fb_st7789v] dotclock 2.750 MHz, dcdr 24
vdc5fb: Layer 2 Enabled (240x320 @ 0x80000000)
Console: switching to colour frame buffer device 30x40
graphics fb0: registered fcff7400.display as 240x320 @ 25 Hz, 16 bpp.
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
SuperH (H)SCI(F) driver initialized
e8008000.serial: ttySC0 at MMIO 0xe8008000 (irq = 22, base_baud = 0) is a scif
console [ttySC0] enabled
e8008800.serial: ttySC1 at MMIO 0xe8008800 (irq = 26, base_baud = 0) is a scif
2 fixed-partitions partitions found on MTD device 20000000.qspi
Creating 2 MTD partitions on "20000000.qspi":
0x000000080000-0x000000090000 : "uboot_env"
0x000000800000-0x000001800000 : "rootfs_xipcramfs"
renesas_spi e800d000.spi: dma_request_slave_channel_compat failed
renesas_spi e800d000.spi: DMA not available, using PIO
renesas_spi e800d000.spi: probed
renesas_spi e800d800.spi: dma_request_slave_channel_compat failed
renesas_spi e800d800.spi: DMA not available, using PIO
renesas_spi e800d800.spi: probed
spibsc 1f800000.spi: can't request region for resource [mem 0x20000000-0x2fffffff]

Thanks & reagrds

Mahesh R


Viewing all articles
Browse latest Browse all 1583

Trending Articles