Hi everyone,

My carambolla2 showing below kernel panic error after power up.

U-Boot 1.1.4-g682743ef (Jan 20 2016 - 14:54:16)

=====================================
Caraboot v2.3 (AR9331) U-boot
-------------------------------------
DRAM:  64 MB
Flash: 16 MB
Net:   eth0, eth1
=====================================

Hit '<ESC>' key(s) to stop autoboot:  0
USB0:   scanning bus 0 for devices... 3 USB Device(s) found
Device NOT ready
   Request Sense returned 02 3A 00
1 Storage Device(s) found
** Bad device size - usb 0 **
** Bad device size - usb 0 **
Boot or recovery image (8dev_uimage.bin or 8dev_recovery.bin) not found in usb storage
## Booting image at 9f050000 ...
   Image Name:   MIPS OpenWrt Linux-3.7.9
   Created:      2014-01-03  12:44:12 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    965723 Bytes = 943.1 kB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f050040 ...OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.7.9 (zilvinas@LX-buildd3) (gcc version 4.7.3 20121205 (prerelease) (Linaro GCC 4.7-2012.12) ) #8 Fri Jan 3 14:43:51 EET 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=CARAMBOLA2 console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2048k(kernel),13952k(rootfs),64k(art)ro,16000k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    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] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61404k/65536k available (2247k kernel code, 4132k reserved, 420k data, 272k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is 8devices Carambola2 board
[    0.550000] bio: create slab <bio-0> at 0
[    0.560000] i2c-gpio i2c-gpio.0: using pins 18 (SDA) and 19 (SCL)
[    0.560000] Switching to clocksource MIPS
[    0.570000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.580000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.590000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.590000] TCP: reno registered
[    0.600000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.610000] NET: Registered protocol family 1
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650000] msgmni has been set to 119
[    0.650000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.660000] io scheduler noop registered
[    0.660000] io scheduler deadline registered (default)
[    0.670000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.680000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.690000] console [ttyATH0] enabled, bootconsole disabled
[    0.690000] console [ttyATH0] enabled, bootconsole disabled
[    0.700000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.710000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.710000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.710000] 6 cmdlinepart partitions found on MTD device spi0.0
[    0.720000] Creating 6 MTD partitions on "spi0.0":
[    0.720000] 0x000000000000-0x000000040000 : "u-boot"
[    0.730000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.740000] 0x000000050000-0x000000250000 : "kernel"
[    0.740000] 0x000000250000-0x000000ff0000 : "rootfs"
[    0.750000] mtd: partition "rootfs" set to be root filesystem
[    0.750000] mtd: partition "rootfs_data" created automatically, ofs=490000, len=B60000
[    0.760000] 0x000000490000-0x000000ff0000 : "rootfs_data"
[    0.770000] 0x000000ff0000-0x000001000000 : "art"
[    0.770000] 0x000000050000-0x000000ff0000 : "firmware"
[    0.790000] libphy: ag71xx_mdio: probed
[    0.800000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    1.350000] eth0: Found an AR7240/AR9330 built-in switch
[    2.390000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.940000] ag71xx ag71xx.0 eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.950000] i2c /dev entries driver
[    2.950000] TCP: cubic registered
[    2.960000] NET: Registered protocol family 17
[    2.960000] Bridge firewalling registered
[    2.960000] 8021q: 802.1Q VLAN Support v1.8
[    2.980000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.980000] Freeing unused kernel memory: 272k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.900000] jffs2: notice: (459) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 1 orphan) found.
- merge overlay components -
[   10.150000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[   10.150000]

What i did means, i just added "echo "22" > /sys/class/gpio/gpio22/value" in " vim /lib/functions/block.sh" for my

custome purpose. Am i did wrong anything? because of above thing it showing below error?

please help me...

thanks in advance

(Last edited by amarr on 30 Aug 2017, 10:03)