@Lazar-Demin Thank you for your time and support.!
Now my device is booting up.
Rohit P
@Rohit P
Best posts made by Rohit P
Latest posts made by Rohit P
-
RE: Omega2+ recovery issues
-
RE: Omega2+ recovery issues
@crispyoz Yes i tried web recovery still getting the same.
Yes I have the Ethernet expansion board -
RE: Omega2+ recovery issues
@Lazar-Demin
Even I am facing the same issue. My wifi mac shows
wifi mac address = 000000000000.I updated my firmware and the boot loader but my device is not responding attached are the logs.
____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/" Board: Onion Omega2 APSoC DRAM: 128 MB relocate_code Pointer at: 87f60000 flash manufacture id: c2, device id 20 19 find flash: MX25L25635E *** Warning - bad CRC, using default environment ============================================ Onion Omega2 UBoot Version: 4.3.0.3 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 1024 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 128 MBytes Flash component: SPI Flash Date:May 12 2020 Time:21:55:16 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 CPU freq = 575 MHZ Estimated memory size = 128 Mbytes Resetting MT7628 PHY. Initializing MT7688 GPIO system. wifi mac address = 000000000000. ************************************** * Hold Reset button for more options * ************************************** Boot Linux from Flash NO RESET PRESSED. ## Booting image at bc050000 ... Image Name: MIPS OpenWrt Linux-4.14.81 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1617505 Bytes = 1.5 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 128 Starting kernel ... [ 0.000000] Linux version 4.14.81 (root@cc6409d38073) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7482-f759677176)) #0 Mon Dec 14 21:40:44 2020 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is Onion Omega2+ [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0002c76e [ 0.000000] Readback ErrCtl register=0002c76e [ 0.000000] Memory: 124580K/131072K available (3708K kernel code, 207K rwdata, 920K rodata, 212K init, 205K bss, 6492K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] intc: using register map from devicetree [ 0.000000] CPU Clock: 580MHz [ 0.000000] timer_probe: no matching timers found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.007674] Console: colour dummy device 80x25 [ 0.011931] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.073506] pid_max: default: 32768 minimum: 301 [ 0.078194] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.084536] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.098563] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.108058] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.114005] pinctrl core: initialized pinctrl subsystem [ 0.119577] NET: Registered protocol family 16 [ 0.155794] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.161477] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.167001] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.173621] i2c-mt7621 10000900.i2c: clock 100 kHz [ 0.183172] clocksource: Switched to clocksource MIPS [ 0.195415] NET: Registered protocol family 2 [ 0.200546] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.207293] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.213396] TCP: Hash tables configured (established 1024 bind 1024) [ 0.219658] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.225292] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.231584] NET: Registered protocol family 1 [ 0.250225] Crashlog allocated RAM at address 0x3f00000 [ 0.256837] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.269152] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.274770] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.294882] io scheduler noop registered [ 0.298614] io scheduler deadline registered (default) [ 0.304653] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.311993] console [ttyS0] disabled [ 0.315493] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.324215] console [ttyS0] enabled [ 0.324215] console [ttyS0] enabled [ 0.331210] bootconsole [early0] disabled [ 0.331210] bootconsole [early0] disabled [ 0.340013] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.349686] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.359201] cacheinfo: Failed to find cpu0 device node [ 0.364449] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.371419] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.382492] m25p80 spi0.0: mx25l25635e (32768 Kbytes) [ 0.387740] 5 fixed-partitions partitions found on MTD device spi0.0 [ 0.394196] Creating 5 MTD partitions on "spi0.0": [ 0.399061] 0x000000000000-0x000000030000 : "u-boot" [ 0.405059] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.411263] 0x000000040000-0x000000050000 : "factory" [ 0.417313] 0x000000050000-0x000001f80000 : "firmware" [ 0.491787] 2 uimage-fw partitions found on MTD device firmware [ 0.497836] 0x000000050000-0x0000001daea1 : "kernel" [ 0.503852] 0x0000001daea1-0x000001f80000 : "rootfs" [ 0.509664] mtd: device 5 (rootfs) set to be root filesystem [ 0.516920] 1 squashfs-split partitions found on MTD device rootfs [ 0.523262] 0x000000970000-0x000001f80000 : "rootfs_data" [ 0.529667] 0x000001f80000-0x000002000000 : "user" [ 0.536438] libphy: Fixed MDIO Bus: probed [ 0.552396] rt3050-esw 10110000.esw: link changed 0x00 [ 0.558582] mtk_soc_eth 10100000.ethernet: generated random MAC address 2a:bd:0a:59:f5:67 [ 0.567671] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.576355] i2c /dev entries driver [ 0.581746] NET: Registered protocol family 10 [ 0.590647] Segment Routing with IPv6 [ 0.594555] NET: Registered protocol family 17 [ 0.599116] 8021q: 802.1Q VLAN Support v1.8 [ 0.609351] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.617718] Freeing unused kernel memory: 212K [ 0.622222] This architecture does not have kernel memory protection. [ 1.419809] init: Console is alive [ 1.423591] init: - watchdog - [ 2.173658] random: fast init done [ 4.927973] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 5.208327] usbcore: registered new interface driver usbfs [ 5.214079] usbcore: registered new interface driver hub [ 5.219568] usbcore: registered new device driver usb [ 5.231189] exFAT: Version 1.2.9 [ 5.270480] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.287007] SCSI subsystem initialized [ 5.296773] ehci-platform: EHCI generic platform driver [ 5.312449] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 5.319260] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 5.324600] ehci-platform 101c0000.ehci: EHCI Host Controller [ 5.330460] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 5.338644] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 5.373213] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 5.380685] hub 1-0:1.0: USB hub found [ 5.384943] hub 1-0:1.0: 1 port detected [ 5.394981] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.402857] ohci-platform: OHCI generic platform driver [ 5.408533] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 5.415498] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 5.423630] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 5.498250] hub 2-0:1.0: USB hub found [ 5.502528] hub 2-0:1.0: 1 port detected [ 5.521468] MTK MSDC device init. [ 5.583408] mtk-sd: MediaTek MT6575 MSDC Driver [ 5.592664] sdhci: Secure Digital Host Controller Interface driver [ 5.599004] sdhci: Copyright(c) Pierre Ossman [ 5.604845] sdhci-pltfm: SDHCI platform and OF driver helper [ 5.615258] usbcore: registered new interface driver usb-storage [ 5.625115] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 5.642971] init: - preinit - [ 7.032612] rt3050-esw 10110000.esw: link changed 0x00 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 7.226907] random: procd: uninitialized urandom read (4 bytes read) [ 10.480342] mount_root: loading kmods from internal overlay [ 10.552015] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 10.565416] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 11.761818] block: attempting to load /etc/config/fstab [ 11.772599] block: unable to load configuration (fstab: Entry not found) [ 11.779578] block: no usable configuration [ 11.784742] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 11.860791] urandom-seed: Seed file not found (/etc/urandom.seed) [ 12.064967] procd: - early - [ 12.068002] procd: - watchdog - [ 12.815313] procd: - watchdog - [ 12.818819] procd: - ubus - [ 12.918306] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.102987] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.110049] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.117636] procd: - init - Please press Enter to activate this console. [ 13.706995] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.867715] RPC: Registered named UNIX socket transport module. [ 13.873798] RPC: Registered udp transport module. [ 13.878565] RPC: Registered tcp transport module. [ 13.883350] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.902226] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 13.988908] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.607956] [ 14.607956] [ 14.607956] === pAd = c0615000, size = 1178064 === [ 14.607956] [ 14.619262] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 14.689546] Linux video capture interface: v2.00 [ 14.778786] hidraw: raw HID events driver (C) Jiri Kosina [ 14.808311] ledchain: pwm_base=0xB0005000 [ 14.812540] ledchain: v2 - Device: /dev/ledchain2 [ 14.817377] ledchain: - PWM channel : 2 [ 14.821525] ledchain: - PWM buffer size: 12 [ 14.825786] ledchain: - Number of LEDs : 1 [ 14.829937] ledchain: - Inverted : 0 [ 14.834096] ledchain: - LED type : WS2812 [ 14.838686] ledchain: - Max retries : 3 [ 14.842834] ledchain: - Max Tpassive : 10000 nS [ 14.938587] Bluetooth: Core ver 2.22 [ 14.942320] NET: Registered protocol family 31 [ 14.946875] Bluetooth: HCI device and connection manager initialized [ 14.953340] Bluetooth: HCI socket layer initialized [ 14.958291] Bluetooth: L2CAP socket layer initialized [ 14.963454] Bluetooth: SCO socket layer initialized [ 14.971220] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.976682] Bluetooth: BNEP filters: protocol multicast [ 14.981992] Bluetooth: BNEP socket layer initialized [ 14.994690] usbcore: registered new interface driver btusb [ 15.004989] usbcore: registered new interface driver cdc_acm [ 15.010737] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 15.023338] Bluetooth: HCI UART driver ver 2.3 [ 15.027859] Bluetooth: HCI UART protocol H4 registered [ 15.033066] Bluetooth: HCI UART protocol BCSP registered [ 15.042821] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 15.048917] Bluetooth: HIDP socket layer initialized [ 15.060017] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.087881] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 15.186288] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 15.195897] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 15.202256] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 15.212141] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 15.226663] Bluetooth: RFCOMM TTY layer initialized [ 15.231639] Bluetooth: RFCOMM socket layer initialized [ 15.236937] Bluetooth: RFCOMM ver 1.11 [ 15.257195] usbcore: registered new interface driver ums-alauda [ 15.266400] usbcore: registered new interface driver ums-cypress [ 15.275861] usbcore: registered new interface driver ums-datafab [ 15.285014] usbcore: registered new interface driver ums-freecom [ 15.294413] usbcore: registered new interface driver ums-isd200 [ 15.303932] usbcore: registered new interface driver ums-jumpshot [ 15.313250] usbcore: registered new interface driver ums-karma [ 15.323368] usbcore: registered new interface driver ums-sddr09 [ 15.332670] usbcore: registered new interface driver ums-sddr55 [ 15.342493] usbcore: registered new interface driver ums-usbat [ 15.355789] usbcore: registered new interface driver usbhid [ 15.361449] usbhid: USB HID core driver [ 15.369753] usbcore: registered new interface driver usblp [ 15.385290] usbcore: registered new interface driver usbserial [ 15.391304] usbcore: registered new interface driver usbserial_generic [ 15.398110] usbserial: USB Serial support registered for generic [ 15.417736] Driver for 1-wire Dallas network protocol. [ 15.447172] xt_time: kernel timezone is -0000 [ 15.454169] usbcore: registered new interface driver ch341 [ 15.459840] usbserial: USB Serial support registered for ch341-uart [ 15.469318] usbcore: registered new interface driver cp210x [ 15.475165] usbserial: USB Serial support registered for cp210x [ 15.485184] usbcore: registered new interface driver ftdi_sio [ 15.491126] usbserial: USB Serial support registered for FTDI USB Serial Device [ 15.512642] usbcore: registered new interface driver pl2303 [ 15.518493] usbserial: USB Serial support registered for pl2303 [ 15.530414] PPP generic driver version 2.4.2 [ 15.538248] NET: Registered protocol family 24 [ 15.558003] usbcore: registered new interface driver snd-usb-audio [ 15.580733] usbcore: registered new interface driver uvcvideo [ 15.586624] USB Video Class driver (1.1.1) [ 15.597866] usbcore: registered new interface driver option [ 15.603709] usbserial: USB Serial support registered for GSM modem (1-port) [ 15.616432] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.964200] urandom_read: 5 callbacks suppressed [ 15.964212] random: jshn: uninitialized urandom read (4 bytes read) [ 26.435426] jffs2: notice: (1393) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 30.734977] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 31.400896] [ 31.400896] _ _____ ___ ___ _________ ___ ____ [ 31.400896] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.1 [ 31.400896] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 31.400896] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 31.400896] Onion Enhanced MT7688 WiFi Driver [ 31.400896] [ 31.663196] DMA Scheduler Mode=0(LMAC) [ 31.667027] efuse_probe: efuse = 10000012 [ 31.671146] 1. Phy Mode = 14 [ 31.863587] ERROR: initialization error 781: [ 31.863587] buffer=303030303030303030303030 [ 31.863587] [ 32.757475] ERROR: initialization error 781: [ 32.757475] buffer=303030303030303030303030 [ 32.757475] [ 41.205026] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 41.911055] [ 41.911055] _ _____ ___ ___ _________ ___ ____ [ 41.911055] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.1 [ 41.911055] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 41.911055] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 41.911055] Onion Enhanced MT7688 WiFi Driver [ 41.911055] [ 42.023982] Kernel bug detected[#1]: [ 42.027631] CPU: 0 PID: 1892 Comm: ifconfig Not tainted 4.14.81 #0 [ 42.033898] task: 87e39600 task.stack: 8667e000 [ 42.038487] $ 0 : 00000000 804f0000 00000001 ffff9b39 [ 42.043793] $ 4 : c06c5bac ffff9b43 86a75560 c06c5bac [ 42.049099] $ 8 : c06abe24 0000001c 86a40fd8 00000000 [ 42.054404] $12 : 00000000 00200020 00000010 00000000 [ 42.059708] $16 : c06c5bac 00090000 000b0000 86b40000 [ 42.065014] $20 : c06c5bac c06a5000 00000001 7fce59fc [ 42.070319] $24 : 00000018 80045dec [ 42.075625] $28 : 8667e000 8667fc48 00403a18 86a5121c [ 42.080933] Hi : 00000000 [ 42.083849] Lo : 0000000a [ 42.086800] epc : 8005ad78 add_timer+0x8/0x14 [ 42.091920] ra : 86a5121c RTMPSetTimer+0x8c/0x10c [mt_wifi] [ 42.097831] Status: 1100e403 KERNEL EXL IE [ 42.102082] Cause : 10800034 (ExcCode 0d) [ 42.106144] PrId : 00019655 (MIPS 24KEc) [ 42.110204] Modules linked in: pppoe ppp_async option w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_conntrack_ipv6 lzo iptable_nat ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm pwm_mediatek_ramips nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack lzo_decompress lzo_compress iptable_mangle [ 42.181944] iptable_filter ip_tables hwmon hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth p44_ledchain snd_soc_simple_card snd_soc_simple_card_utils snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core mt_wifi ralink_gdma virt_dma ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables nfs msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore vfat fat ntfs lockd sunrpc grace configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_spi regmap_i2c dma_shared_buffer ecdh_generic kpp ecb cmac crypto_acompress mmc_block [ 42.253970] usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 aead crypto_null cryptomgr crc32c_generic crypto_hash [ 42.279178] Process ifconfig (pid: 1892, threadinfo=8667e000, task=87e39600, tls=77f1cdc0) [ 42.287550] Stack : c0615000 00090000 000b0000 86b40000 c0615000 86a3fb40 00000000 c0735000 [ 42.296038] 86b15fe8 86aab250 00000001 86a4f9c8 c0615000 86b40000 c0735000 86b15fe8 [ 42.304523] 86b15fe8 7fce5bfc 00008914 86a52530 00008914 86afe244 86b15fe8 00000001 [ 42.313008] 00000100 00000200 873eb800 c0615000 873eb800 c0615000 804a0000 ffff9b2d [ 42.321493] 7fce5bfc 86ad8ea8 8782d89c 8782d884 8667fcd8 8667fcd8 00000000 00000000 [ 42.329978] ... [ 42.332459] Call Trace: [ 42.334959] [<8005ad78>] add_timer+0x8/0x14 [ 42.339683] [<86a5121c>] RTMPSetTimer+0x8c/0x10c [mt_wifi] [ 42.346194] [<86a3fb40>] MlmeInit+0x1ac/0x2f4 [mt_wifi] [ 42.352440] [<86a52530>] rt28xx_init+0x124/0x72c [mt_wifi] [ 42.358964] [<86ad8ea8>] rt28xx_open+0xbc/0x30c [mt_wifi] [ 42.365402] [<86a69194>] RTMP_COM_IoctlHandle+0x52c/0x984 [mt_wifi] [ 42.372723] [<86ad87f4>] MainVirtualIF_open+0x74/0x110 [mt_wifi] [ 42.379300] [<802868b8>] __dev_open+0x128/0x140 [ 42.383897] [<80286b90>] __dev_change_flags+0xe4/0x198 [ 42.389108] [<80286c6c>] dev_change_flags+0x28/0x70 [ 42.394061] [<802f7700>] devinet_ioctl+0x2f0/0x6d0 [ 42.398941] [<802677f4>] sock_ioctl+0x140/0x328 [ 42.403548] [<800e15c0>] vfs_ioctl+0x28/0x40 [ 42.407883] [<800e1764>] do_vfs_ioctl+0xb8/0x728 [ 42.412571] [<800e1e24>] SyS_ioctl+0x50/0x9c [ 42.416910] [<8001354c>] syscall_common+0x34/0x58 [ 42.421677] Code: 8fa20014 8c820004 0002102b <00020336> 08016b01 8c850008 27bdffd8 afb10020 afb0001c [ 42.431585] [ 42.433158] ---[ end trace 5a38686f6460afe7 ]--- [ 42.441088] Kernel panic - not syncing: Fatal exception in interrupt [ 42.449056] Rebooting in 3 seconds..
Can you please suggest what must be done to recover the module?
Any pointers on this will be much appreciated.Thanks in advance
-
RE: Gcc Compilation file not found
@crispyoz Thank you for all your time and support.
Thank you for the pointers on GCC will learn about it more.
Yes I will setup the cross compilation environment. -
RE: Gcc Compilation file not found
@crispyoz Thank you for your support.
I am able to compile it now.
I tested with a small program.
There was a mismatch in the header file declared.Now the issue is that my source code has lot of subfolders defined and each sub folder contains different header files.
say
ABC->libs
ABC->api_lib->includes
ABC->common
....etcDo I have to include all the Subfolders through -I command?
This becomes very much difficult.So do you suggest me to write a Makefile for this?
Or we can do it through commandline?
and all these headers in my source code use "" for includes.Thanks in advance.
Please provide me with some pointers, would be of great help.
Any pointers for suggested reading will be much appreciated. -
RE: Gcc Compilation file not found
@crispyoz Thank you for the support.
Yes the names are proper and the path name is also same.
And yes i am aware that it is case sensitive. -
RE: Gcc Compilation file not found
Hi @crispyoz ,
Thank you for your response.I have used #include <Myheader.h> as I am including the directory path in the PATH environment.
-
Gcc Compilation file not found
Hi,
I am trying to compile a source code on Onion Omega 2S+
I have installed GCC on Onion Omega (booting from external SD card)
GCC Version: gcc (OpenWrt GCC 5.4.0) 5.4.0I am able to compile a simple hello world and other programs which have C header files in the same directory.
Now I am trying to compile a source code which has header files in multiple directories.
I used below command to compile my code.gcc -I/root/Abc/api_lib/include -o test analyzer.c
I get the error as No Such file or directory (for header files).
But these header files are in this location "/root/Abc/api_lib/include"I even added this directory path in PATH environment.
I still get the same error.
Could anyone help me on this??I am new to Linux environment.
Any pointers on this will be much appreciated.
Thanks.