tommy79 Wrote: ------------------------------------------------------- > blackdevil, > I have the 2-bay box, so probably same as yours, > and I had problems with pci and usb when I used > the disk attached to the sata connector in the USM > bay (of course I used regular 2.5 inch hdd, not a > USM disk). The pci and usb couldn't get > initialized and the disk was nby blackdevil - Debian
MarkTurner Wrote: ------------------------------------------------------- > I'll be happy to share my kernel binary with you > if you'd like to try it. Yeah, that would be great!by blackdevil - Debian
@MarkTurner, I would be great to get PCI express and with that USB 3.0 working. I tried it and found no way :( @tommy79, Booting with the netboot command is a nice workaround, thanks :-)by blackdevil - Debian
@bodhi what MarkTurner said. Uboot ignores custom settings during autoboot. Has anyone any hints why my pci express isnt initialized the correct way? The bootlogs I posted earlier. I had a look at the patches from tommy79, and they seems really good, I didnt found a missing patch or something else. But I dont understand much from kernel/driver development. Thanks for every hint :)by blackdevil - Debian
Hi tommy, I turned off the NAS for 22 hours, but same result, pci is not properly initialized. Whitney # setenv bootargs 'console=ttyS0,38400 mem=512M@0x20000000 root=/dev/sda1';setenv loaduimage 'ext2load scsi 0 0x28000000 /boot/uImage';setenv bootcmd_scsi 'scsi init;run loaduimage;bootm 0x28000000' Whitney # run bootcmd_scsi Initialize SCSI AHCI 0001.0100by blackdevil - Debian
Your Kernel and debian ( from here https://github.com/KL-Yang/seagate_central_linux) is up! Good work ! edit: I think PCIe is not working and so USB is not working too. Whitney # setenv bootargs 'console=ttyS0,38400 mem=512M@0x20000000 root=/dev/sda1';setenv loaduimage 'ext2load scsi 0 0x28000000 /boot/uImage';setenv bootcmd_scsi 'scsi init;run loaduimage;by blackdevil - Debian
AAAAH! My bootcmd was wrong... Passing bootargs is working now :-) The Kernel complaints about missing init. Is it a OS ( in my case debian) problem? I think I am using the system bodhi posted last week. Whitney # setenv bootargs 'console=ttyS0,38400 mem=512M@0x20000000 root=/dev/sda1 rootwait' Whitney # setenv loaduimage 'ext2load scsi 0 0x28000000 /boot/uImage.tommyby blackdevil - Debian
tommy, I cannot boot with bootargs from uboot. I have to compile the bootargs into the kernel. i will give it a try when you uploaded the kernel and compile it myself. thank you!by blackdevil - Debian
Hi tommy, I tested the kernel on my 2-bay NAS. It starts loading but dont get far. Also tested with 0x800000 and 0x2000000 as address. Whitney # setenv loaduimage 'ext2load scsi 0 0x28000000 /boot/uImage.tommy' Whitney # setenv bootcmd_scsi 'scsi init;run loaduimage;bootm 0x28000000' Whitney # run bootcmd Initialize SCSI AHCI 0001.0100 32 slots 2 ports 3 Gbps 0xby blackdevil - Debian
Boot the old 4.4 Kernel result: Whitney # setenv bootcmd_scsi 'scsi init; ext2load scsi 0 0x8000000 /boot/uImage2; bootm 0x8000000' Whitney # run bootcmd Initialize SCSI AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part set feature error! scanning bus for devices... Supprt LBA48 addressing. timeout exit! Device 0by blackdevil - Debian
bodhi , I tryed and the same result :-( Whitney # setenv bootcmd_scsi 'scsi init; ext2load scsi 0 0x8000000 /boot/uImage; bootm 0x8000000' Whitney # Whitney # run bootcmd Initialize SCSI AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part set feature error! scanning bus for devices... Supprt LBA48 addressing. tby blackdevil - Debian
Hi bodhi, I tryed your new uImage and uInitrd, with the same results like every time. Whitney # scsi init; ext2load scsi 0 0x8000000 /boot/uImage; ext2load scsi 0 0x1100000 /boot/uInitrd; bootm 0x8000000 0x1100000 Initialize SCSI AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part scanning bus for devices... Supprt LBA48 addresby blackdevil - Debian
Hi bodhi, thank you for the new uImage. It stops loading at "Loading Multi-File Image ..." Any suggestions? Whitney # setenv bootcmd_scsi 'scsi init;ext2load scsi 0 0x8000000 /uImage; bootm 0x8000000' Whitney # run bootcmd Initialize SCSI AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mby blackdevil - Debian
bodhi, nothing changed: Whitney # printenv bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0 baudrate=38400 port=0 netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000 boardtest_state_memory=none model_name=whitney_2bay cpu_clock=700 mfgmodel=halfdome bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 whitney_state=saved serial_number=5564S01001G3330032CJ0Aby blackdevil - Debian
I updated my uboot env to following: Whitney # printenv bootargs=root=/dev/mtdblock0 mem=256M console=ttyS0 baudrate=38400 port=0 netboot_cmd=tftp 0x4000000 bootpImage; go 0x4000000 boardtest_state_memory=none model_name=whitney_2bay cpu_clock=700 mfgmodel=halfdome bootfile="/tftpboot/uImage" tftp_bsize=512 udp_frag_size=512 whitney_state=saved serial_number=5564S01001by blackdevil - Debian
Maybe we have to change the dts file at this position: chosen { bootargs = "console=ttyS0,115200"; stdout-path = &serial0; }; the serial connection is in my case 38400 and not 115200. Maybe Marks BlackArmor box has 115200 and thats why he sees the kernel panic and I not? edit: How can i compile the dts file?by blackdevil - Debian
Here is my printenv: U-Boot 2008.10-mpcore (Nov 11 2012 - 16:30:36) Whitney model:(HALFDOME) release v1.2-beta2 CPU: Cavium Networks CNS3000 ID Code: 410fb024 (Part number: 0xB02, Revision number: 4) CPU ID: 900 Chip Version: c DRAM: 512 MB Parallel Flash: 0 kB Flash Manufacturer: MX Serial Flash: 512 kB Serial Flash: Bank # 1: Nb pages: 2048 Page Size: 256 Size: 524by blackdevil - Debian
I tryd to boot your rootfs with bootm 0x2000000 0x5100000 0x5000000 result: U-Boot 2008.10-mpcore (Nov 11 2012 - 16:30:36) Whitney model:(HALFDOME) release v1.2-beta2 CPU: Cavium Networks CNS3000 ID Code: 410fb024 (Part number: 0xB02, Revision number: 4) CPU ID: 900 Chip Version: c DRAM: 512 MB Parallel Flash: 0 kB Flash Manufacturer: MX Serial Flash: 512 kB Serial Flash:by blackdevil - Debian
seems good. But where do I get the uInitrd file? It it is not in the your start post isnt it?by blackdevil - Debian
Mark, how did you get the uInitrd-4.14.24? I think i also have to load all 3 files (uImage/zImage, uInitrd, dtb) and not just uImage :-)by blackdevil - Debian
Thank you for your kernel bodhi! first i tryed to boot the zImage from hdd, but it say wrong image format. Whitney # scsi init;ext2load scsi 0 0x8000000 /zImage; bootm 0x8000000 Initialize SCSI AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part set feature error! scanning bus for devices... Supprt LBA48 addressing. timeouby blackdevil - Debian
I didnt get kernel 3.18 to work. I got only 4.4 to work, but some things are missing. May we can have a look at the patches which I posted earlier and build a dts file from it? Is FDT support just a kernel switch?by blackdevil - Debian
Hi MarkTurner, this video is maybe a good first step: https://www.youtube.com/watch?v=m_NyYEBxfn8by blackdevil - Debian
Hi, I think I am not able to build a device tree for this box. @ bodhi: would you be able to build a device tree I you have access to this box? blackdevilby blackdevil - Debian
Hi bodhi, I enabled CONFIG_I2C_MUX, but nothing changed :( cat .config| grep CONFIG_I2C_MUX CONFIG_I2C_MUX=y CONFIG_I2C_MUX_GPIO=y CONFIG_I2C_MUX_PCA9541=y CONFIG_I2C_MUX_PCA954x=y CONFIG_I2C_MUX_REG=y Any other ideas? edit: Found some patches for older kernels (2.6.37): Look here http://lists.infradead.org/pipermail/linux-arm-kernel/2010-November/thread.html#33161 Especialby blackdevil - Debian
Hi tommy79, no, the fancontrol is not the only thing. USB, rtc and the 2nd ethernet port is not working. But the first ethernet port without any problem :-) And SMP is working, it feels much faster now, but has only 256MB RAM addressable. I used the patches from here https://github.com/KL-Yang/seagate_central_linux and patched the mainline kernel 4.4-88. I also attached the patches. I compileby blackdevil - Debian
Hi, its me again. I got the kernel 4.4 compile myself and working, but fancontrol is not working. I think i compiled the necessary drivers builtin, but there is no entry in /sys/class/hwmon, /sys/class/i2c-adapter, /sys/class or /i2c-dev. Also no /dev/i2c* device. Do you have any hints? Config file is attached, other stuff as Code. Thank you very much! modules.builtin kernel/kernel/coby blackdevil - Debian
Hi, I tested on Seagate Business Storage 2-bay NAS, and it is working as expected/descriped. Just 256 MB RAM and the second ethernet port is not working :-( Great work, many thanks! Now I need an uboot which reminds the bootcmd and to get USB working... :-) But I am really happy with it for now! Regardsby blackdevil - Debian
For comparison, here is the out for kernel 2.6.35: $ cat /proc/iomem 10000000-17ffffff : physmap-flash.0 20000000-3fffffff : System RAM 2002f000-205eafff : Kernel text 2064c000-206e402b : Kernel data 71000020-7100003f : cns3xxx-i2c.0 71000020-7100003f : cns3xxx-i2c 71000180-710001ff : cns3xxx-pcm1.0 74000000-74000047 : GPIOA 74000000-74000047 : GPIOA 74800000-74800047 : GPIby blackdevil - Debian
Hi, can you provide the .img and .md5 file for updating and installing ssh? regardsby blackdevil - Debian