Hi,

yes, this is clean way. Alternatively, you can use our besip build system which will do kernel config for you if you know directly, which directives to enable. See example here: https://homeproj.cesnet.cz/projects/besip/wiki/Build

If you have any questions for this, feel free to contact me personaly. Besip build system will prepare openwrt buildroot for you with parameters which you need.

With regards,
Lukas Macura

Dne 14.5.2013 03:36, Adam Gensler napsal(a):
Hi Hanno,

Last time I checked the x86 target does not include the drivers for SATA ports. 
The only way I've been able to get it work is by building a custom kernel.

1. make kernel_menuconfig

2. Device Drivers --> Serial ATA and Parallel ATA drivers --> AHCI SATA Support

Press "y" on both the "Serial ATA and Parallel ATA drivers" and "AHCI SATA 
Support" then exit and save and rebuilt the image.

Adam


On May 13, 2013, at 7:41 AM, Hanno Schupp <[email protected]> wrote:

Hi,

I have a fit-pc2-i http://www.fit-pc.com/web/fit-pc/fit-pc2-i/ with a ADATA 32GB SSD 
w/ a SATA interface drive built in. Kamikaze boots fine and from scratch,  but 
neither backfire nor attitude adjustment. For them the boot process stops while 
"waiting for root device /dev/sda2 in both cases.
I assume I need to include some additional modules in my firmware, but am 
unsure which ones and at which level:
Can I compile kernel modules kmod* into the image and expect it to work?  I 
thought that kmod models were stored in rootfs and since the system fails to 
boot before it can even find rootfs. If my assumption is correct I have to 
compile support directly into the kernel using make kernel_menuconfig
Is that correct? And if so, what do i have to include when configuring make 
kernel_menuconfig and/or make menuconfig to get SATA drive to be recognised as 
initial and only rootfs?
I consulted the extroot page in wiki, but I understand that approach relies on 
an initial rootfs in the device's flash drive to be present, which then writes 
its /overlay or / to the external storage; this is not what happens with this 
fit-pc2-I, which has no flash drive but but only he SATA drive.

Any help and pointers on how to build such a x86 image is appreciated.

Thanks

Hanno Schupp

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to