Thomas

  • Content Count

    3
  • Joined

  • Last visited

  1. From linux kernel 4.x, using patch to upgrade without reboot. This is source: https://github.com/dynup/kpatch Who had use it in arm, or have a tutorial?
  2. You can modify /boo/dtb/*Banana*.dtb use tool dtc extract *dtb to dos : sudo dtc -I dtb -O dts your_board.dtb -o your_borad.dts open dos, and find 'pwm@' like this pwm@01c20e00 { compatible = "allwinner,sun7i-a20-pwm"; reg = <0x1c20e00 0xc>; clocks = <0xb>; #pwm-cells = <0x3>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <0x35 0x36>; };
  3. dev = device_create(spidev_class, &spi->dev, spidev->devt, spidev, "spidev%d.%d", spi->master->bus_num, spi->chip_select); bus_num: 32766 chip_select: 0