Opened 9 years ago

Closed 9 years ago

#1040 closed enhancement (fixed)

add new platform - ReadyNAS NV+

Reported by: imgk2000 Owned by:
Priority: minor Component: General
Severity: low Keywords:
Cc: Sensitive: no

Description

Index: 3490/CMakeLists.txt
===================================================================
--- 3490/CMakeLists.txt (Revision 3490)
+++ 3490/CMakeLists.txt (Arbeitskopie)
@@ -63,6 +63,10 @@

set (OSCamOperatingSystem "QboxHD")
set (CS_OS_HW "qboxhd")
set (CS_OS_SYS "linux")

+ elseif (OSCAM_SYSTEM_NAME MATCHES "Padre")
+ set (OSCamOperatingSystem "Padre")
+ set (CS_OS_HW "sparc")
+ set (CS_OS_SYS "linux")

else (OSCAM_SYSTEM_NAME MATCHES "Tuxbox")

message (STATUS "Unknown cross system name: <${CMAKE_SYSTEM_NAME}>")
set (OSCamOperatingSystem "Unknown")

@@ -210,6 +214,9 @@

elseif (OSCamOperatingSystem MATCHES "FreeBSD")

add_definitions ("-DOS_FREEBSD")
set (DEFAULT_CS_CONFDIR ".")

+elseif (OSCamOperatingSystem MATCHES "Padre")
+ add_definitions ("-DOS_LINUX -DPADRE -DSPARC")
+ set (DEFAULT_CS_CONFDIR "/etc/oscam")

endif (OSCamOperatingSystem MATCHES "Linux")


set (CS_CONFDIR ${DEFAULT_CS_CONFDIR} CACHE STRING "Default path for the config files")

@@ -534,6 +541,8 @@

add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")

elseif (OSCAM_SYSTEM_NAME MATCHES "Dockstar")

add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")

+elseif (OSCAM_SYSTEM_NAME MATCHES "Padre")
+ add_definitions ("-O2 -Winline -Wall -finline-functions -fomit-frame-pointer")

else (OSCamOperatingSystem MATCHES "Mac OS X")

add_definitions ("-Winline -Wall -Wextra")
set (CMAKE_C_FLAGS "-O2 -finline-functions -fomit-frame-pointer")

Index: 3490/utils/CMakeLists.txt
===================================================================
--- 3490/utils/CMakeLists.txt (Revision 3490)
+++ 3490/utils/CMakeLists.txt (Arbeitskopie)
@@ -51,6 +51,10 @@

set (OSCamOperatingSystem "Amino")
set (CS_OS_HW "amino")
set (CS_OS_SYS "linux")

+ elseif (OSCAM_SYSTEM_NAME MATCHES "Padre")
+ set (OSCamOperatingSystem "Padre")
+ set (CS_OS_HW "sparc")
+ set (CS_OS_SYS "linux")

else (OSCAM_SYSTEM_NAME MATCHES "Tuxbox")

message (STATUS "Unknown cross system name: <${CMAKE_SYSTEM_NAME}>")
set (OSCamOperatingSystem "Unknown")

@@ -136,6 +140,9 @@

elseif (OSCamOperatingSystem MATCHES "Windows/Cygwin?")

add_definitions ("-DOS_CYGWIN32 -static")
set (DEFAULT_CS_CONFDIR ".")

+elseif (OSCamOperatingSystem MATCHES "Padre")
+ add_definitions ("-DOS_LINUX -DPADRE -DSPARC")
+ set (DEFAULT_CS_CONFDIR "/etc/oscam")

endif (OSCamOperatingSystem MATCHES "Linux")

Attachments (1)

toolchain-sparc-padre.cmake (138 bytes) - added by imgk2000 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by imgk2000

Attachment: toolchain-sparc-padre.cmake added

comment:1 Changed 9 years ago by imgk2000

ReadyNAS runs kernel 2.6.9 (very old I know). Named "RADiator 4.1.6". Hence right now no usb support. Source of Kernel is free available, modules for usbserial and some ser2usb converter (fdti_sio, belkin_sa, pl2303) are compilable and insmod in running kernel, use of serial cardreader? (i have none right now) - further investigation needed (e.g. to get support for smartreader (needs newer libusb)

cross compiles on x86/x86_64 (with ia32 libs) with provided toolchain
http://www.infrant.com/download/development/readynas-cross-3.3.5.tar.gz
kernel-source
http://www.readynas.com/download/GPL/RNR4_RND4_RND2_4.1.6_WW_src.zip

comment:2 Changed 9 years ago by Admin

Resolution: fixed
Status: newclosed

Added in [4466].

Note: See TracTickets for help on using tickets.