Thanks for your reply, I am now able to use your image, in the komikan board.
I just modified the device tree like this.
&spi0 {
status = "okay";
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
#compatible = "jedec,spi-nor";
compatible = "spansion,m25p80", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;
all@0 {
label = "ALL";
reg = <0x0 0x2000000>;
};
partition@0 {
label = "boot";
reg = <0x0 0x20000>;
read-only;
};
partition@20000 {
label = "hwpart";
reg = <0x20000 0x20000>;
};
partition@40000 {
label = "config";
reg = <0x40000 0x40000>;
};
firmware@80000 {
label = "kernel";
reg = <0x80000 0x240000>;
};
partition@240000 {
label = "rootfs";
reg = <0x240000 0x2000000>;
};
};
};
still my kernel is crashing.
0.000000] Linux version 4.14.187 (user@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14026-8a0ccb93f3)) #0 Tue Aug 4 17:42:33 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019385 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Multilaser RE708 V1
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] BOOTSTRAP = 8197f001 0 412582e0 80000000
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a4 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,38400
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=0000e0a0
[ 0.000000] Readback ErrCtl register=0000e0a0
[ 0.000000] Memory: 58492K/65536K available (3952K kernel code, 159K rwdata, 816K rodata, 1208K init, 200K bss, 7044K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 128
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520893 ns
[ 0.000008] sched_clock: 32 bits at 500MHz, resolution 2ns, wraps every 4294967295ns
[ 0.008539] Calibrating delay loop... 663.55 BogoMIPS (lpj=1327104)
[ 0.047280] pid_max: default: 32768 minimum: 301
[ 0.052508] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.059666] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070307] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.080959] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.088059] NET: Registered protocol family 16
[ 0.109642] INFO: sheipa spi driver register
[ 0.115127] clocksource: Switched to clocksource MIPS
[ 0.121584] NET: Registered protocol family 2
[ 0.126966] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.134578] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.141458] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.148551] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.154912] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.162002] NET: Registered protocol family 1
[ 0.171044] 1800351c.gpio-controller: Realtek GPIO controller driver
[ 0.178637] Crashlog allocated RAM at address 0x3f00000
[ 0.186409] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.197824] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.204180] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.226297] io scheduler noop registered
[ 0.230575] io scheduler deadline registered (default)
[ 0.236466] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 0.243822] console [ttyS0] disabled
[ 0.247765] 18147000.serial: ttyS0 at MMIO 0x18147000 (irq = 17, base_baud = 6250000) is a 16550A
£[ 0.257438] console [ttyS0] enabled
[ 0.257438] console [ttyS0] enabled
[ 0.264395] bootconsole [early0] disabled
[ 0.264395] bootconsole [early0] disabled
[ 0.273329] libphy: Fixed MDIO Bus: probed
[ 0.278362] NET: Registered protocol family 10
[ 0.288509] Segment Routing with IPv6
[ 0.292321] NET: Registered protocol family 17
[ 0.296835] 8021q: 802.1Q VLAN Support v1.8
£[ 0.304542] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 0.312072] Please append a correct "root=" boot option; here are the available partitions:
[ 0.320400] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.328992] Rebooting in 1 seconds..
Please suggest what I am doing wrong
Thank you