{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":130391014,"defaultBranch":"master","name":"openwrt","ownerLogin":"981213","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-04-20T16:59:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3888062?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1711203632.0","currentOid":""},"activityList":{"items":[{"before":"870870486864143db8689bbd848989f69662b641","after":null,"ref":"refs/heads/ax6s","pushedAt":"2024-03-23T14:20:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"}},{"before":"86325d441e34b0344b9d2717ac35d8e2030de3d4","after":"870870486864143db8689bbd848989f69662b641","ref":"refs/heads/ax6s","pushedAt":"2024-03-20T07:21:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nThere are two possible ways to convert from the old fw:\nFlash the factory image using mtd (provided by @rany2):\n\nmount -o remount,ro /\nmount -o remount,ro /overlay\ncd /tmp\ndd if=factory.bin bs=1M count=4 | mtd write - kernel\ndd if=factory.bin bs=1M skip=4 | mtd -r write - ubi\n\nOr, flash the 2nd u-boot via mtd and upload the firmware\nto the 2nd u-boot using tftp:\n\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nProcedure for flashing from vendor firmware shouldn't change.\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":"3bec6b684df9db3c81ef1787e0c2dd6ba01cdfb8","after":"86325d441e34b0344b9d2717ac35d8e2030de3d4","ref":"refs/heads/ax6s","pushedAt":"2024-03-20T07:09:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nConverting from old layout:\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nFlashing from vendor firmware:\nI don't know... Help wanted!\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":"4163b023a6bccb1817ff0acc54008b3d4dd1b7c9","after":"3bec6b684df9db3c81ef1787e0c2dd6ba01cdfb8","ref":"refs/heads/ax6s","pushedAt":"2024-03-09T04:09:12.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nConverting from old layout:\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nFlashing from vendor firmware:\nI don't know... Help wanted!\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":"ea350e48d647fe610e8299f645860fa2c71e3ab4","after":"4163b023a6bccb1817ff0acc54008b3d4dd1b7c9","ref":"refs/heads/ax6s","pushedAt":"2024-03-03T07:48:14.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nConverting from old layout:\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nFlashing from vendor firmware:\nI don't know... Help wanted!\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":"04dff1e63d8232b30a63d7950d31a22ac2442d58","after":"ea350e48d647fe610e8299f645860fa2c71e3ab4","ref":"refs/heads/ax6s","pushedAt":"2024-03-03T07:27:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nConverting from old layout:\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nFlashing from vendor firmware:\nI don't know... Help wanted!\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":"b25124f17d9b45969c3a6238dbed65d18f9cad28","after":"04dff1e63d8232b30a63d7950d31a22ac2442d58","ref":"refs/heads/ax6s","pushedAt":"2024-03-03T07:22:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nConverting from old layout:\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nFlashing from vendor firmware:\nI don't know... Help wanted!\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":null,"after":"b25124f17d9b45969c3a6238dbed65d18f9cad28","ref":"refs/heads/ax6s","pushedAt":"2024-03-02T13:26:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"mediatek: mt7622: add a second u-boot for redmi-ax6s\n\nThe vendor u-boot knows nothing about UBI, and we used to have a\nfixed-size kernel partition for vendor u-boot and UBI for rootfs.\nHowever, that fixed partition becomes too small eventually, and\nexpanding it requires complicated procedure.\n\nThis commit changed the flash layout and added a second u-boot\nwhere the kernel supposed to be.\nNow the vendor u-boot chainloads our mainline u-boot, and our\nu-boot reads kernel+rootfs from UBI, verifies it, and boot\ninto OpenWrt.\n\nConverting from old layout:\n1. prepare a tftp server at 192.168.1.254 to serve the\n sysupgrade image:\n openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb\n2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to\n the old kernel partition:\n mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb\n3. The router should reboot and flash the sysupgrade image via TFTP.\n\nFlashing from vendor firmware:\nI don't know... Help wanted!\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"mediatek: mt7622: add a second u-boot for redmi-ax6s"}},{"before":"dae6cf3bd03fe4606327796341b7a3f7016cbc87","after":"c1cb165be9aa24cd55a60f4bd25a640c0ab29e73","ref":"refs/heads/gadget","pushedAt":"2023-12-27T13:09:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"package: new package for usb gadget setup\n\nSetting up usb gadgets using g_* kernel modules are considered a\nlegacy approach, but the usb_gadget configfs is a bit annoying\nto use directly.\n\nThis new package is an init script to setup usb_gadget configfs\nusing uci. UCI options are files available in the configfs\nand strings/0x409 directories.\nIt's also possible to apply pre-made config templates under\n/usr/share/usbgadget. The templates use the same UCI config\nformat, with the 'gadget' entry named 'g1'. Currently, there\nare templates for CDC-ACM and CDC-NCM gadgets written based\non existing g_*.ko module code.\n\nCertain SBCs come with only a USB device port (e.g. Raspberry Pi\nZero). With this script, it's now possible to perform initial\nsetup on them by adding a default NCM gadget.\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"package: new package for usb gadget setup"}},{"before":"e8e9e31d6e92fa53eb3eb3807a415a2a028bca9d","after":"dae6cf3bd03fe4606327796341b7a3f7016cbc87","ref":"refs/heads/gadget","pushedAt":"2023-12-27T09:18:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"package: new package for usb gadget setup\n\nSetting up usb gadgets using g_* kernel modules are considered a\nlegacy approach, but the usb_gadget configfs is a bit annoying\nto use directly.\n\nThis new package is an init script to setup usb_gadget configfs\nusing uci. UCI options are files available in the configfs\nand strings/0x409 directories.\n\nCertain SBCs come with only a USB device port (e.g. Raspberry Pi\nZero). With this script, it's now possible to perform initial\nsetup on them by adding a default NCM gadget.\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"package: new package for usb gadget setup"}},{"before":"9d03ea45f34b4c4688482a859d53d6a5a5dd0ecf","after":"e8e9e31d6e92fa53eb3eb3807a415a2a028bca9d","ref":"refs/heads/gadget","pushedAt":"2023-12-03T06:34:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"package: new package for usb gadget setup\n\nSetting up usb gadgets using g_* kernel modules are considered a\nlegacy approach, but the usb_gadget configfs is a bit annoying\nto use directly.\n\nThis new package is an init script to setup usb_gadget configfs\nusing uci. UCI options are files available in the configfs\nand strings/0x409 directories.\n\nCertain SBCs come with only a USB device port (e.g. Raspberry Pi\nZero). With this script, it's now possible to perform initial\nsetup on them by adding a default NCM gadget.\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"package: new package for usb gadget setup"}},{"before":"335ddd86d9a9db97ccf998d80e6514c8e16fc557","after":"9d03ea45f34b4c4688482a859d53d6a5a5dd0ecf","ref":"refs/heads/gadget","pushedAt":"2023-12-03T06:33:25.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"package: new package for usb gadget setup\n\nSetting up usb gadgets using g_* kernel modules are considered a\nlegacy approach, but the usb_gadget configfs is a bit annoying\nto use directly.\n\nThis new package is an init script to setup usb_gadget configfs\nusing uci. UCI options are files available in the configfs\nand strings/0x409 directories.\n\nCertain SBCs come with only a USB device port (e.g. Raspberry Pi\nZero). With this script, it's now possible to perform initial\nsetup on them by adding a default NCM gadget.\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"package: new package for usb gadget setup"}},{"before":null,"after":"335ddd86d9a9db97ccf998d80e6514c8e16fc557","ref":"refs/heads/gadget","pushedAt":"2023-11-19T13:10:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"981213","name":"Chuanhong Guo","path":"/981213","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3888062?s=80&v=4"},"commit":{"message":"package: new package for usb gadget setup\n\nSetting up usb gadgets using g_* kernel modules are considered a\nlegacy approach, but the usb_gadget configfs is a bit annoying\nto use directly.\n\nThis new package is an init script to setup usb_gadget configfs\nusing uci. UCI options are files available in the configfs\nand strings/0x409 directories.\n\nCertain SBCs come with only a USB device port (e.g. Raspberry Pi\nZero). With this script, it's now possible to perform initial\nsetup on them by adding a default NCM gadget.\n\nSigned-off-by: Chuanhong Guo ","shortMessageHtmlLink":"package: new package for usb gadget setup"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEHXlmuwA","startCursor":null,"endCursor":null}},"title":"Activity ยท 981213/openwrt"}