bodhi Wrote: ------------------------------------------------------- > Or this > > linux-oxnas-3.12-tld-2/arch/arm/boot/dts/ox820-pog > oplug-pro.dts > > sata@45900000 { > status = "okay"; > nr-ports = <2>; > }; > > > The idea is just cloning the first SATA port, > whatever definition that needs to be cby tilator - uBoot
ingmar_k Wrote: ------------------------------------------------------- > You really don't get it. Device tree file (.dts), > SATA definition. Now compare the current defintion > and see where you could add one for the second > SATA port. > Either that or you wait until someone else does > the work. > > Edit: > Hehe, bodhi to the rescue. :-D I'mby tilator - uBoot
ingmar_k Wrote: ------------------------------------------------------- > You need that line for your device tree: > > "#define SATA_1_REGS_BASE 0x45910000" > > In most device tree files, only SATA0 gets > explicitly set up with its address of 0x45900000, > just like defined one line above the one I just > quoted. > "#define SATA_0_REGS_BASE 0by tilator - uBoot
bodhi Wrote: ------------------------------------------------------- > Take a look at: > u-boot-oxnas-oxnas/drivers/block/plxsata_ide.c > > and also: > arch/arm/include/asm/arch-nas782x/hardware.h > > Everything you need is in there, I think. Can you tell me what to change, please?by tilator - uBoot
bodhi Wrote: ------------------------------------------------------- > tilator, > > > I ask it here since uBoot find both sata devices. > > Which U-Boot version did you see both SATA? 2013.10 for Oxnas: **************************************************************************** U-Boot SPL 2013.10-ga72eb8f-dirty (Mar 26 2014 - 14:25:06) Boot device: SATA Attemby tilator - uBoot
WarheadsSE Wrote: ------------------------------------------------------- > The non-dt kernel should have the information for > the second sata port near the definitions of the > first. Are you talking about source code or something else? Can I get the info out with hexdump or some other means? > I am not sure why you are asking this in > the uBoot subforum. I ask itby tilator - uBoot
Hi, I can't find proper device tree for an Ox820 device anywhere. The device is like Pogoplug V3 except double sata ports. Is it possible to get proper information for the device tree somewhere inside an old non-FDT kernel?by tilator - uBoot
Hi, Does someone still have u-boot and kernel (or source) with device-tree in proc but without dtb support? I would like to have on to get the device tree directly from the device itself. Or is there anybody to help me. I dont have dts-file for my OX820 device. How can I make one?by tilator - uBoot