linuxstb Wrote:Hi gfi,
Would you be willing to share your buildroot config? I've successfully used it to build a newer tvheadend, but would like to be able to build the complete filesystem.
I've been playing with building my own kernel, and that's working quite well now - I've added the driver for my DVB-T stick (a dual-tuner dib0700 device) and that's working fine. The main issue was that it has a loadable firmware file, and the /lib/firmware directory wasn't being mounted on boot. The solution was to embed it into the kernel binary - you need to copy the .fw file into the firmware/ directory in the kernel sources, and then add its name to the list of firmware files to embed.
Also, I can't recall what was in the kernel being provided by TBS, but the .config included in tbs-moi-linux-kernel-sources has NFS enabled. I have managed to get this working with the following options:
mount -o nolock,clientaddr=192.168.1.188 192.168.1.10:/abc /abc
i.e. you need to disable locking and explicity specify which interface on the MOI the NFS client binds to.
.config - meanwhile not, I'm still doing some changes. But it's not your problem, I think.
What target image (fs) have you defined?
BTW: I'm still going with clear tarball for training, with hardly method - mtd3 (flash_unlock, erase, mount tmpfs, lock... I don't want write about this unsafe ways).
About dvb usb stick. I have also kernel (only upgraded TBS) with af9015 chip.
I just created firmware directory in target/lib, cp <fw files> and simply make.
Nothing else. But for example in tvheadend frontend don't going "down", close handle don't working too, when device is in "idle" state.
I haven't any problem with mount, I'm not sure, what you mean with "wasn't mounted on boot".
Try: create diectory in original rootfs, copy fw file and reboot.
NFS I didn't checked, so I can't help you. But I know what you mean.
You have another kernel, as you wrote. How You managed drivers from TBS (are precompiled)? Step by step from TBS's kernel (with path of patches, etc), or with linux drivers (also precompiled) for TBS QUAD PCIe (some tuner)?