Search results

  1. j4ck

    Bananapi M1 and hdmi

    What are the specifications of your power supply? Have you tried any other power supplies with higher amperage? I had the same problem using BPi M3 HDMI, after days of investigation, I found out that it is related to low amperage power supply.
  2. j4ck

    Problem adding new SYSCTL

    I'm trying to add two sysctls using the following peice of code: static unsigned int inform = 0; static struct sysctl_ctx_list inform_sctl_ctx; static int inform_oid_handler(SYSCTL_HANDLER_ARGS) { //DO STH return (0); } static void inform_sysctls_create() { struct...
  3. j4ck

    Partitioning SD card using Crochet build tool

    I'm trying to create an image using Crochet build tool. Without changing the default settings, the SD card is partitioned as the following: root@bananapi:~ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/mmcsd0s2a 6.7G 2.7G 3.5G 43% / devfs...
  4. j4ck

    Cross compiling a specific module for BBB

    How can I cross compile a specific driver for BeagleBone Black (BBB). e.g. /usr/src/sys/modules/usb/smsc/? I tried make TARGET_ARCH=armv6 but I found out that this is not correct. Am I missing something?
  5. j4ck

    Beaglebone Black reboots after a few seconds after startup

    Yes, no problem with that!
  6. j4ck

    Beaglebone Black reboots after a few seconds after startup

    I have build an image for BBB using crochet build tool according to this manual: http://www.onemansanthology.com/blog/freebsd-on-beaglebone-black/ I don't know why but after startup, it reboots! Here's what I get after reboot: U-Boot SPL 2014.10 (Sep 28 2016 - 07:26:39) MMC: block number...
  7. j4ck

    GPIO setup on x86

    Hi I'm trying to work with gpio but GPIO devices are not listed in dev directory. I compiled kernel with following the configuration: device gpio I must mention that I also tried to compile kernel with following configuration: device gpio device gpioc device...
  8. j4ck

    Opening a character device in driver

    Is it possible to open character device in a driver and write on it? Something like: int open_port() { int fd; char portopen[1000]; sprintf(portopen, "echo"); fd = open(portopen, O_RDWR | O_NOCTTY | O_NDELAY | O_NONBLOCK); return (fd); } I suppose this can be done in a...
  9. j4ck

    Documentations, why not for FreeBSD

    There are lots of awesome documentations for Linux like these: Check this link and this image out. These are just two examples of lots of Linux documentations. Why there is not anything like these for FreeBSD?
  10. j4ck

    FreeBSD's monolithic kernel

    I'm studying operating systems and kernel types. In all references that I have read, monolithic kernels are known for being cumbersome, difficult to maintain, difficult to debug, coding in kernel is very challenging, a faulty part of kernel can bring down the whole system and so on ... . On the...
  11. j4ck

    How to learn to develop drivers

    You can also buy lecture 1 from this course: https://www.mckusick.com/courses/netdescrip.html It is presented by George Neville-Neil. It reviews igb and em drivers.
  12. j4ck

    em driver - Speed up link negotiation

    How can I speed up the link negotiation in em driver? What part of this driver is responsible to do the link negotiation?
  13. j4ck

    Character device (ioctl)

    Hi, Post your code, please.
  14. j4ck

    igb driver, static loaded module or dynamic loaded - that is the question

    I've recently found out that loading igb driver (or any other network device driver) dynamically causes poor performance at heavy traffics. When I test 4 simultaneous connection with high traffic (and igb driver is loaded using kldload), after about 30 seconds, the system crashes. But when I...
  15. j4ck

    Updating a driver

    You're not going to believe that I have checked the svn log and emailed every person who have worked on this driver and they said that they just have made some little changes and haven't tested the functionality of the driver. I also contacted with patm developed, but he is not very Interested...
  16. j4ck

    Updating a driver

    Unfortunately with patm on FreeBSD9.2 we could not establish a basic connection and it's faulty (Following the natmip example). After months of debugging and testing on other versions of FreeBSD, we could not solve the problem, so we decide to check the official driver.
  17. j4ck

    Updating a driver

    Following is the source code of a Prosum PROATM-V155 card official driver, please take look at it and share your ideas on how much change does this driver need to get updated. Note that this driver has been developed for FreeBSD4.6. https://github.com/saymosthasfar/proatm And that's the...
  18. j4ck

    MPD5 question

    We are trying to implement a native ppp protocol support for DADHI driver. Currently mpd5 is responsible for some protocols such as ppp. I have a question here, what is the need of using an user-land program like mpd5? Isn't it possible to take the control of ppp support in the DAHDI driver...
  19. j4ck

    What would you like to see in FreeBSD

    Yes, I have bought the book, and I have to say that's a great job, but I think it would be better to learn such subjects through examples. I request FreeBSD device driver developers to share their experiences.
  20. j4ck

    What would you like to see in FreeBSD

    I'm working on device drivers in FreeBSD, Particularly on network device drivers. Unfortunately there are few documents for developers who are new to device driver development in FreeBSD (just like myself) while there are many tutorials and documents for developing a linux driver all over the...
Back
Top