Jump to content

martinayotte

Members
  • Posts

    3892
  • Joined

  • Last visited

Posts posted by martinayotte

  1. Using "truncate" with the "endsect" number shown by fdisk after gparted shrinking.

    Here is the sequence :

    sudo modprobe loop
    sudo losetup -f
    sudo losetup /dev/loop0 myimage.img
    sudo partprobe /dev/loop0
    sudo gparted /dev/loop0
    sudo losetup -d /dev/loop0
    fdisk -l myimage.img
    sudo truncate --size=$[(endsect+1)*512] myimage.img

     

  2. What do you mean exactly ?

    UART and I2C as nothing in common, except if you mean that you are using an I2C-to-UART bridge chip such SC16IS752, which Linux kernel is able to manage with proper kernel custom build configs and overlays.

    This means that WiringPi is not used for this case.

     

  3. Good luck ! This part isn't easy to find in bulk, none on eBay or AliExpress ...

     

    EDIT : Oh ! instead of searching PST73118BETV like schematic says, TI has some TPS73118, some on eBay.

     

    Lucky Guy ! I found that MCP1824 on AliExpress in abundance, and it seems to be pin compatible, some sellers offer them at $4 for lot of 10.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines