Hi bodhi, 1st, i don't know if the fw_env.config is correct, it's juste one i found on the forum. 2sd, when i tried to fw-printenv i see that : root@nas-test:~# fw_printenv [ 294.717228] __nand_correct_data: uncorrectable ECC error [ 294.722591] __nand_correct_data: uncorrectable ECC error [ 294.731072] __nand_correct_data: uncorrectable ECC error [ 294.738142] __nandby Val532 - Debian
So : There is some log : cat /proc/mtd dev: size erasesize name mtd0: 000a0000 00004000 "uboot" mtd1: 00010000 00004000 "env" mtd2: 00228000 00004000 "zImage" mtd3: 00300000 00004000 "initrd" mtd4: 02000000 00004000 "flash" cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector sizeby Val532 - Debian
Thank !! i've just do the change to my env and it's work now ! earlyprintk=serial is not set is realy necesary ? I need to find an upgraded u-boot and clear my nand, there is a lot of ecc error [ 11.456218] __nand_correct_data: uncorrectable ECC error [ 11.461930] blk_update_request: I/O error, dev mtdblock0, sector 8 [ 11.468804] __nand_correct_data: uncorrectableby Val532 - Debian
I all, i want to upgrade my kernel on my Iomega ix4-200d, but for the moment any kernel above 4.10.9 won't boot. I've made some test and the only two things I think problematic might be: A different configuration parameter after 4.10.9 Or a question of size, because 4.10.9 is 3.3MB and 4.11.3 is more than 3.7MB. I of course used the kernels provided on the forum by bohdi. I justby Val532 - Debian
@Yama On 4.4 kernel i can't get SMP working... And on 3.18 i can't get all the ram... I think we can have a 3.1 kernel with all option since 2.6.35 to 3.1 there aren't a lot of foundamental change. For me it's the only way to have 512Mo of ram and probably a corect way to work for ethernet.by Val532 - Debian
@Yama Look at this please : root@seagate-dev:~# sensors-detect # sensors-detect revision 6209 (2014-01-14 22:51:58 +0100) # DMI data unavailable, please consider installing dmidecode 2.7 # or later for better results. This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the defaby Val532 - Debian
I don't have it when i test it ^^. I will try again, but i need to take a look at the fan controler driver.by Val532 - Debian
Ok, precisely i go back to 3.18.27 kernel, because on 4.4 i got a kernel panic by SMP and kernel 3.18 is ok. So for the moment, i have a kernel 3.18 working, with i2c and rtc driver ok, eth0 it's probably to (but not tested for now) and SMP + 256Mo. In order to have USB3.0 we need to correct pcie init (see the original patch from seagate) and the missing 256Mo of ram.by Val532 - Debian
We're stuck here, i don't see dts or similar thing for cns3xxx .... Insted of that, do you think it's possible to have a lower working kernel ? Like 3.16 3.15 ?by Val532 - Debian
Bodhi, I agree with you, if the kernel move on, we move on, retrofit is not a god option. Do you think you can do it ? Edit : I don't found any information about dst file for cns3xxx, do you mean we have to create one ?by Val532 - Debian
Ok thanks, For my part, i add i2c driver and rtc driver (from original seagate patch), and now i will spend some time on bugy pcie driver that not init correctly so i think is why we dont have USB3, also there is something to do with sil24 driver for the thrid sata port.by Val532 - Debian
Bodhi So no i persists and say you miss something in your config ^^. # # CPU Core family selection # CONFIG_ARCH_MULTI_V6=y # CONFIG_ARCH_MULTI_V7 is not set CONFIG_ARCH_MULTI_V6_V7=y # CONFIG_ARCH_MULTI_CPU_AUTO is not set # CONFIG_ARCH_BCM is not set CONFIG_ARCH_CNS3XXX=y CONFIG_MACH_CNS3420VB=y # CONFIG_MACH_GW2388 is not set CONFIG_CNS3XXX_HIGH_PHYS_OFFSET=y # CONFIG_ARCH_by Val532 - Debian
@blackdevil root@seagate-dev:~# cat /proc/iomem 00000000-0fffffff : System RAM 00008000-005b0f7b : Kernel code 005e4000-0062d1f3 : Kernel data 10000000-17ffffff : physmap-flash.0 70000000-70000fff : eth0_mem 70000000-70000fff : eth0_mem 71000020-7100003f : cns3xxx-i2c.0 71000020-7100003f : cns3xxx-i2c 75000000-75000fff : cns3xxx-rtc 78000000-7800001f : serial 82000000-82ffby Val532 - Debian
Ok so, some error : First missing : diff --git a/arch/arm/mach-cns3xxx/Kconfig b/arch/arm/mach-cns3xxx/Kconfig index 446ec73..586a36d 100644 --- a/arch/arm/mach-cns3xxx/Kconfig +++ b/arch/arm/mach-cns3xxx/Kconfig @@ -60,4 +60,15 @@ endchoice config CNS3XXX_SPEEDUP_NAS bool "NAS Speedup" +config CNS3XXX_HIGH_PHYS_OFFSET + bool "High physical base address foby Val532 - Debian
bodhi, Send me your patch to make some test. Have you looking for the memory offset (0x2000000) ?by Val532 - Debian
Yes : Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0xa0000@0x0(uboot),0x10000@0xa0000(env),0x228000@0xb0000(zImage),0x300000@0x2d8000(initrd),32m@0x0(flash) root=LABEL=rootfsby Val532 - Debian
bodhi, I have a curently working setup, with 4.4 kernel and Debian 8.3 rootfs on usb key, and OpenMediaVault on it. I only point this error on my system, as i see error on sata is for every one. But error on Nand no. Have you an idea to correct the nand error ? To not spam my log ^^.by Val532 - Debian
Sorry, I forgot some file, openWRT add it alone and not as a .patch. Add it to your kernel source and after apply patch.by Val532 - Debian
Hi, I also buy a NAS and I have some questions : You can use the LCD screens ? Or is missing drivers ? I have also some error on the NAND : [ 11.160528] blk_update_request: I/O error, dev mtdblock4, sector 0 [ 11.167449] blk_update_request: I/O error, dev mtdblock4, sector 0 [ 11.173938] __nand_correct_data: uncorrectable ECC error [ 11.179335] blk_update_request: I/O errorby Val532 - Debian
Thanks, Just for 4.4 (because 3.18 is in same state and older so no need to work on it as my opignon). I use kernel 4.4.3 from kernel.org, patch from openWRT and config file from echor. For the moment in this config it seems ok without SMP (because i have not try to add it). Now i dont understand some modification to add support of 512Mo of ram, the patch work only for 2.6.35 and no lby Val532 - Debian
Hi all again, I've managed to build 4.4 kernel and it seems to work good, for the moment i need to add the smp patch. For the 3.18 kernel, i found why we can not use 512Mo of ram, the patch to do that is good, but some file have been moved like memory.h, so i dont know how to do now. If bodhi can help i think i could resolved this problem. Does "/arch/arm/mach-cns3xxx/includby Val532 - Debian
I use config file from echor github. Do you add the file in files folders on openWRT web site ? like : files/arch/arm/mach-cns3xxx/include/mach/gpio.h files/arch/arm/mach-cns3xxx/include/mach/smp.h files/arch/arm/mach-cns3xxx/... And other missing file from kernel source ? I apply the path from openWRT too, from 000 to 200 that why i'v got this error. Edit : Probleme solvedby Val532 - Debian
Hi all, I want to help you to work on this, but i'm lost with all your kernel version and for the moment i can not compil a new kernel. Can you provide some links for kernel source ? (like openwrt) because i dont understand how to grab it. For the moment i have kernel 3.18.27 source from kernel.org, patch for 3.18 from openwrt and some mising file from openwrt but the build failed lby Val532 - Debian
@M Sorry we can mod the official OS to update some software. We currently want to remove the original OS to directly boot in an other OS (debian in this case). So for the moment you have to play with the official OS until someone make a correct kernel and uboot for this machin. You understand ? ps: sorry for the bad english i'm juste a french guy ^^.by Val532 - Debian
Hi all, In my opinion the memory probleme is the missing 256m of ram is not correctly activate by the kernel. For the ethernet probleme i think the port is not the same that nas central. We need to search in the original kernel source to find the correct way to be used. And USB3 chip is connected to pcie port, so i think pcie port is not correctly activated to. ps: Sorry i wrote directlyby Val532 - Debian
Oh yes, a probably good new. But i have several question, what is your cmd line for booting your systeme ? (because on my systeme it boot with mem=256 and not with 512). And Seagate Business Storage have two ethernet port no ? For USB3 i think is connected to pcie 1x internal port and it seem it's just on litle think not correctly configurate. When i found time i will try on my sby Val532 - Debian
hi bodhi Can you add some option in your next kernel please ? This : SPI-NOR device support (under Memory Technology Device (MTD) support) and then Support most SPI Flash chips (AT26DF, M25P, W25X, ...) (in Self-contained MTD device drivers) it's needed by one my NAS. Thanks.by Val532 - Debian
So, it's the result of the test you ask, with: CONFIG_SATA_AHCI = y CONFIG_SATA_AHCI_PLATFORM = y And it's the same as befor, so it's what i think We need the driver.by Val532 - Debian
Hi, I think we have a big probleme, where is the sata driver ?!? In 2.35 kernel source i found in drivers/ata cns3xxx_ahci.c and not in 3.18 source. I think it's not needed to search anoter reason for what it does not work. There are some missing code, i will try to add it and test.by Val532 - Debian
Hello, some interesting data : Bootlog : 2.6.35.13 without modification, no SMP, no rootfs : http://pastebin.com/eBjxRxap 2.6.35.13 without modification, no SMP, with rootfs : http://pastebin.com/yfZbgDN0 2.6.35.13 without modification, with SMP (working two CPU active, but some kind of freez), with rootfs : http://pastebin.com/PwzmK0xg 2.6.35.13 with udev patch, no SMP, witby Val532 - Debian