Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

ubuntux64 to mipsel-linux openwrt 9 years 4 months ago #6288

  • redyto
  • redyto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Hello, I have two router ausu rt-n16 (BCM4718, merlinwrt) and netgear wndr4000 (BCM4716 OpenWRT).
I compiled a simple program as "Hello world!" like mipsel-linux.
Program will start on rt-n16, but on wndr4000 it did not complete and does nothing, no errors.
result from file,readelf for my program:
ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked, not stripped
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           MIPS R3000
  Version:                           0x1
  Entry point address:               0x4000e0
  Start of program headers:          52 (bytes into file)
  Start of section headers:          873732 (bytes into file)
  Flags:                             0x70001001, noreorder, o32, mips32r2
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         4
  Size of section headers:           40 (bytes)
  Number of section headers:         14
  Section header string table index: 11
result from file,readelf for program on openwrt:
ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked, not stripped
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 01 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       1
  Type:                              EXEC (Executable file)
  Machine:                           MIPS R3000
  Version:                           0x1
  Entry point address:               0x401d60
  Start of program headers:          52 (bytes into file)
  Start of section headers:          0 (bytes into file)
  Flags:                             0x70001005, noreorder, cpic, o32, mips32r2
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         8
  Size of section headers:           0 (bytes)
  Number of section headers:         0
  Section header string table index: 0
please, help

Please Log in or Create an account to join the conversation.

ubuntux64 to mipsel-linux openwrt 9 years 4 months ago #6290

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir
OS (firmware) is the same on both Devices ?

PS:
Asus RT-N16 info
Netgear WNDR4000 info
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

ubuntux64 to mipsel-linux openwrt 9 years 4 months ago #6291

  • redyto
  • redyto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
OS on both is different, but the processor from the same series. Applications compiled for one operating system does not work for others. What is the difference for the compilation?
P.S.
rt-n16 wndr4000

Please Log in or Create an account to join the conversation.

ubuntux64 to mipsel-linux openwrt 9 years 4 months ago #6293

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir I think it's subject for
WNDR4000 Support
my suggestion is to ask here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

ubuntux64 to mipsel-linux openwrt 9 years 4 months ago #6295

  • redyto
  • redyto's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Thank you, Sir Sternas. I don't have a chance to get their response
Who else will throw ideas how to compile a program for openwrt?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1