IDP Tips

From ESS-WIKI
Jump to: navigation, search
  • Re-size Rootfs System on IDP Target
#fdisk /dev/sdb
 d -> 2      : delete pardation 2
 n -> p -> 2 : 
 w           : write result
#reboot 
#resize2fs /dev/sdb2


  • Restart Boot Service
#systemctl restart boot.service
  • Check boot log
#cat /var/log/syslog | grep boot
  • Add new Modem Model in IDP system (WebUI ) support ( Must confirm drive has loaded )
lsusb => check the Device ID : ex: Sierra/MC7354  1199:68c0 
#vim /etc/modem_cell_default
add
“Sierra|MC7354|1199|68c0|3g|ttyUSB2|ttyUSB2
  • Capture usb packet for analyze
1. Enable "CONFIG_USB_MON" kernel config -> Device Driver -> USB
2. modprobe usbmon
3. cat /sys/kernel/debug/usb/usbmon/0u > ./mon.out