==Supported Devices== * Driver Box * Emergency Alarm Panel * AMP ==Requirements== You need at least a TF card and a card reader to setup system images. All images can be built and downloaded from jenkins server at 192.168.8.29. ==Common Operation== All these devices use the same kernel project, so you need to update the kernels first if necessary, check if the kernels are built at latest version. The project name is aria-kernel-am335x. ==Setup AMP & Emergency Alarm Panel== First you should update rootfs (root file system), the AMP and Emergency Alarm Panel use the same rootfs, check if the rootfs is at latest version. The rootfs project name is pudge-amppanel-rootfs. Update the rootfs may take several hours. Then update the images. AMP and Emergency Alarm Panel use different images. The image project names are pudge-amp-images and pudge-panel-images. When the images updated, download them from the build server, the URLs are: * AMP SD card image: [http://192.168.8.29:81/pudge-amp-images/pudge-amp.sd-latest.img.xz] * AMP EMMC image: [http://192.168.8.29:81/pudge-amp-images/pudge-amp.emmc-latest.img.xz] * Emergency Alarm Panel SD card image: [http://192.168.8.29:81/pudge-panel-images/pudge-panel.sd-latest.img.xz] * Emergency Alarm Panel EMMC image: [http://192.168.8.29:81/pudge-panel-images/pudge-panel.emmc-latest.img.xz] AMPs cannot switch boot mode between SD card and EMMC, so only SD card image is used now. Copy SD card images to TF card by using Shell commands below (need root privilege): unxz -c pudge-amp.sd-latest.img.xz | dd of=/dev/sdb bs=1M unxz -c pudge-panel.sd-latest.img.xz | dd of=/dev/sdb bs=1M Change sdb to other device if your card reader is not on sdb. Set the devices boot from SD card, insert the cards and try to boot from them. If you want to setup EMMC image into Emergency Alarm Panel, copy the EMMC image into the root of the rootfs on the prepared TF card, and boot the panel with the TF card. Then using serial console to copy the image by the command below (login with root by password 123456): unxz -c /pudge-panel.emmc-latest.img.xz | dd of=/dev/mmcblk1 bs=1M Then set the Panel to EMMC boot mode, now the panel can boot from EMMC. ==Setup Driver Box== First you should update rootfs (root file system), check if the rootfs is at latest version. The rootfs project name is pudge-driverbox-rootfs. Update the rootfs may take several hours. Then update the images. The image project name is pudge-driverbox-images. When the images updated, download them from the build server, the URLs are: * Driver Box SD card image: [http://192.168.8.29:81/pudge-driverbox-images/pudge-driverbox.sd-latest.img.xz] * Driver Box EMMC image: [http://192.168.8.29:81/pudge-driverbox-images/pudge-driverbox.emmc-latest.img.xz] Copy SD card images to TF card by using Shell commands below (need root privilege): unxz -c pudge-driverbox.sd-latest.img.xz | dd of=/dev/sdb bs=1M unxz -c pudge-driverbox.sd-latest.img.xz | dd of=/dev/sdb bs=1M Change sdb to other device if your card reader is not on sdb. Set the device boot from SD card, insert the card and try to boot from it. If you want to setup EMMC image, copy the EMMC image into the root of the rootfs on the prepared TF card, and boot the panel with the TF card. Then using serial console to copy the image by the command below (login with root by password 123456): unxz -c /pudge-driverbox.emmc-latest.img.xz | dd of=/dev/mmcblk1 bs=1M Then set the Driver Box to EMMC boot mode, now it can boot from EMMC.