{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/openwrt/issues/1527","repository_url":"https://api.github.com/repos/openwrt/openwrt","labels_url":"https://api.github.com/repos/openwrt/openwrt/issues/1527/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/openwrt/issues/1527/comments","events_url":"https://api.github.com/repos/openwrt/openwrt/issues/1527/events","html_url":"https://github.com/openwrt/openwrt/pull/1527","id":377893637,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4NzI3Mzc1","number":1527,"title":"ath79: modify mtd partitions for Buffalo BHR-4GRV2","user":{"login":"musashino205","id":10043798,"node_id":"MDQ6VXNlcjEwMDQzNzk4","avatar_url":"https://avatars3.githubusercontent.com/u/10043798?v=4","gravatar_id":"","url":"https://api.github.com/users/musashino205","html_url":"https://github.com/musashino205","followers_url":"https://api.github.com/users/musashino205/followers","following_url":"https://api.github.com/users/musashino205/following{/other_user}","gists_url":"https://api.github.com/users/musashino205/gists{/gist_id}","starred_url":"https://api.github.com/users/musashino205/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musashino205/subscriptions","organizations_url":"https://api.github.com/users/musashino205/orgs","repos_url":"https://api.github.com/users/musashino205/repos","events_url":"https://api.github.com/users/musashino205/events{/privacy}","received_events_url":"https://api.github.com/users/musashino205/received_events","type":"User","site_admin":false},"labels":[{"id":927495841,"node_id":"MDU6TGFiZWw5Mjc0OTU4NDE=","url":"https://api.github.com/repos/openwrt/openwrt/labels/ath79","name":"ath79","color":"0043e4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-06T15:17:56Z","updated_at":"2018-11-24T14:00:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/openwrt/openwrt/pulls/1527","html_url":"https://github.com/openwrt/openwrt/pull/1527","diff_url":"https://github.com/openwrt/openwrt/pull/1527.diff","patch_url":"https://github.com/openwrt/openwrt/pull/1527.patch"},"body":"This commit modifies mtd partitions define for Buffalo BHR-4GRV2 and\r\nmove it to generic subtarget.\r\n\r\nIn Buffalo BHR-4GRV2, \"kernel\" partition is located behined \"rootfs\"\r\npartition in the stock firmware. This causes the size of the kernel\r\nto be limited by the fixed value.\r\n\r\nAfter ar71xx was updated to Kernel 4.14, the kernel size of BHR-4GRV2\r\nexceeded the limit, and it breaks builds on official buildbot.\r\nSince this issue was also confirmed in ath79, I modified the mtd\r\npartitions to get rid of that limitation.\r\n\r\nHowever, this commit breaks compatibility with ar71xx firmware, so I\r\ndropped \"SUPPORTED_DEVICES += bhr-4grv2\".\r\n\r\nThis commit requires new flash instruction instead of the old one.\r\n\r\nFlash instruction using initramfs image:\r\n\r\n1. Connect the computer to the LAN port of BHR-4GRV2\r\n2. Set the IP address of the computer to 192.168.12.10\r\n3. Rename the OpenWrt initramfs image to\r\n\"bhr4grv2-uImage-initramfs-gzip.bin\" and place it into the TFTP\r\ndirectory\r\n4. Start the tftp server on the computer\r\n5. While holding down the \"ECO\" button, connect power cable to\r\nBHR-4GRV2 and turn on it\r\n6. Flashing (orange) diag LED and release the finger from the button,\r\nBHR-4GRV2 downloads the intiramfs image from TFTP server and boot\r\nwith it\r\n7. On the initramfs image, create \"/etc/fw_env.config\" file with\r\nfollowing contents\r\n  /dev/mtd1 0x0 0x10000 0x10000\r\n8. Execute following commands to add environment variables for\r\nu-boot\r\n  fw_setenv ipaddr 192.168.12.1\r\n  fw_setenv serverip 192.168.12.10\r\n  fw_setenv ethaddr 00:aa:bb:cc:dd:ee\r\n  fw_setenv bootcmd \"bootm 0x9f050000 || bootm 0x9fe80000\"\r\n9. Perform sysupgrade with squashfs-sysupgrade image\r\n10. Wait ~150 seconds to complete flashing\r\n\r\nAnd this commit includes small fix; BHR-4GRV2 has QCA9557 as a SoC,\r\nnot QCA9558.\r\n\r\nSigned-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>\r\n"},"comment":{"url":"https://api.github.com/repos/openwrt/openwrt/issues/comments/441369917","html_url":"https://github.com/openwrt/openwrt/pull/1527#issuecomment-441369917","issue_url":"https://api.github.com/repos/openwrt/openwrt/issues/1527","id":441369917,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM2OTkxNw==","user":{"login":"musashino205","id":10043798,"node_id":"MDQ6VXNlcjEwMDQzNzk4","avatar_url":"https://avatars3.githubusercontent.com/u/10043798?v=4","gravatar_id":"","url":"https://api.github.com/users/musashino205","html_url":"https://github.com/musashino205","followers_url":"https://api.github.com/users/musashino205/followers","following_url":"https://api.github.com/users/musashino205/following{/other_user}","gists_url":"https://api.github.com/users/musashino205/gists{/gist_id}","starred_url":"https://api.github.com/users/musashino205/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musashino205/subscriptions","organizations_url":"https://api.github.com/users/musashino205/orgs","repos_url":"https://api.github.com/users/musashino205/repos","events_url":"https://api.github.com/users/musashino205/events{/privacy}","received_events_url":"https://api.github.com/users/musashino205/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T14:00:29Z","updated_at":"2018-11-24T14:00:29Z","author_association":"CONTRIBUTOR","body":"I added ```compatible = \"denx,uimage\";``` into \"firmware\" partition."}}
{"actor":{"display_login":"musashino205"}}