Re: Debian on Medion NAS MD 86xxx (STG-212) April 17, 2017 08:36PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (STG-212) May 03, 2017 04:23AM |
Registered: 9 years ago Posts: 295 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) May 03, 2017 12:17PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
Updated 19 Mar 2017:
Kernel linux-4.4.54-oxnas-tld-1 package was uploaded.
Andron Mc
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) May 25, 2018 10:39AM |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) February 27, 2019 09:05AM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) February 27, 2019 01:28PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) February 27, 2019 02:06PM |
Registered: 5 years ago Posts: 29 |
~# free total used free shared buff/cache available Mem: 121804 29620 3168 720 89016 85104 Swap: 524116 44088 480028Swap is on the internal hdd driven by sata_oxnas.
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) February 28, 2019 01:00AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 01, 2019 11:54AM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 01, 2019 03:50PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 06, 2019 12:07PM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 06, 2019 06:43PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 07, 2019 01:27PM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 08, 2019 05:07AM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 08, 2019 05:18AM |
Admin Registered: 13 years ago Posts: 18,997 |
./include/configs/ox820.h #define CONFIG_PLLA_FREQ_MHZ 850
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 08, 2019 07:50PM |
Registered: 5 years ago Posts: 29 |
make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9 ox820_config make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9but I can't find a file resembling a SPL. Do I need extra configuration or build commands?
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 08, 2019 08:43PM |
Admin Registered: 13 years ago Posts: 18,997 |
> make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9 > ox820_config > make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9 >but I can't find a file resembling a SPL.
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) March 10, 2019 06:01PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 01, 2019 09:09AM |
Registered: 5 years ago Posts: 29 |
make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9 ox820yielded no SPL
make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9 ox820_satawould build a SPL, which would reset at IDE detection,
make CC=gcc-4.9 CPP=cpp-4.9 CXX=g++-4.9 ox820_ext4would fail at build with
make[3]: Entering directory '/root/src/u-boot-oxnas/board/ox820' gcc-4.9 -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -D__KERNEL__ -ffunction-sections -fdata-sections -DCONFIG_SYS_TEXT_BASE=0x64000000 -DCONFIG_SPL_BUILD -I/root/src/u-boot-oxnas/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.9/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o /root/src/u-boot-oxnas/spl/board/ox820/ox820.o ox820.c -c ox820.c: In function 'dram_init': ox820.c:297:30: warning: pointer targets in passing argument 1 of 'get_ram_size' differ in signedness [-Wpointer-sign] gd->ram_size = get_ram_size((unsigned long *)CONFIG_SYS_SDRAM_BASE, ^ In file included from ox820.c:1:0: /root/src/u-boot-oxnas/include/common.h:456:6: note: expected 'long int *' but argument is of type 'long unsigned int *' long get_ram_size (long *, long); ^ In file included from /root/src/u-boot-oxnas/include/common.h:901:0, from ox820.c:1: ox820.c: At top level: /root/src/u-boot-oxnas/include/bootstage.h:217:33: error: expected identifier or '(' before 'do' #define show_boot_progress(val) do {} while (0) ^ ox820.c:384:6: note: in expansion of macro 'show_boot_progress' void show_boot_progress(int val) { ^ /root/src/u-boot-oxnas/include/bootstage.h:217:39: error: expected identifier or '(' before 'while' #define show_boot_progress(val) do {} while (0) ^ ox820.c:384:6: note: in expansion of macro 'show_boot_progress' void show_boot_progress(int val) { ^ ox820.c:337:13: warning: 'set_leds' defined but not used [-Wunused-function] static void set_leds(int leds, int blink_count, int blink_delay_msec) ^ /root/src/u-boot-oxnas/config.mk:374: recipe for target '/root/src/u-boot-oxnas/spl/board/ox820/ox820.o' failed make[3]: *** [/root/src/u-boot-oxnas/spl/board/ox820/ox820.o] Error 1 make[3]: Leaving directory '/root/src/u-boot-oxnas/board/ox820' Makefile:215: recipe for target '/root/src/u-boot-oxnas/spl/board/ox820/libox820.o' failed make[2]: *** [/root/src/u-boot-oxnas/spl/board/ox820/libox820.o] Error 2 make[2]: Leaving directory '/root/src/u-boot-oxnas/spl' Makefile:624: recipe for target 'spl/u-boot-spl.bin' failed make[1]: *** [spl/u-boot-spl.bin] Error 2 make[1]: Leaving directory '/root/src/u-boot-oxnas' .boards.depend:14: recipe for target 'ox820_ext4' failed make: *** [ox820_ext4] Error 2so I patched line 208 in include/bootstage.h to always choose the prototype over the macro:
// #if !defined(CONFIG_SPL_OS_BOOT) && !defined(USE_HOSTCC) #if 1I know this is not a solution but just a hack, but it built successfully and the resulting SPL boots ok.
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 01, 2019 10:39AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 01, 2019 07:56PM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 01, 2019 10:30PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 02, 2019 11:52AM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 02, 2019 04:28PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 07, 2019 04:50PM |
Registered: 5 years ago Posts: 29 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 07, 2019 04:57PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 08, 2019 05:01AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) April 08, 2019 10:35AM |
Registered: 5 years ago Posts: 29 |
steven
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) May 12, 2019 02:29PM |
Re: Debian on Medion NAS MD 86xxx (MitraStar STG-212) May 12, 2019 06:21PM |
Admin Registered: 13 years ago Posts: 18,997 |