)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"21d5f7496a91e6bcb10dfe427539296def22ed2b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"8688db9b_e5f357f9","updated":"2022-05-05 19:26:31.000000000","message":"Good work. Thanks!","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"56af0e0f808dbb2364db9c5f851151e724d75035","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fb4b7230_c7d8a683","updated":"2022-05-05 16:01:16.000000000","message":"This buildroot+qemu process was sitting in a set of old readme in my archives.\nTime to move it in the documentation.\nI don\u0027t plan to extend shortly the section of the API, but any suggestion to extend the list is welcome.","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"29e9cd69fa161312b828ed3ca051dc0520969a93","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"80d3d93c_527e619f","updated":"2022-05-06 14:43:13.000000000","message":"Very useful, thanks. Did not know such how to exists. \nI will give it a try and post comments.","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"36f826d13aa4f29518c59213e2aef9c1295e35a4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"3058a4d8_9ec3658e","updated":"2022-05-06 18:46:18.000000000","message":"hi Antonio,\nI am trying the tutorial. Unfortunately make openocd in step 4 fails:\nautoreconf: error: configure.ac: AC_INIT not found; not an autoconf script?\ninside the rsynced custom openocd when executing host command: autoreconf -f -i\nDo you have any insight what might be wrong ? configure.ac looks good. \n","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"8eeed48512fcafc32bbc6306bb85490146495b12","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"01a23d8f_b86a260d","in_reply_to":"3058a4d8_9ec3658e","updated":"2022-05-06 20:14:07.000000000","message":"buildroot is made to build \"releases\" of SW. For OpenOCD it downloads v0.11.0, unpack it and build.\nThe trick to use a git repository requires to make the content of the repository \"similar\" to a release.\nThis requires running \"./bootstrap\" in the git repository \"before\" running \"make openocd\" in buildroot folder.\nThe error about autoreconf should be caused by buildroot running \"bootstrap\" by itself, without having autotools installed as dependency.","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"433f7823a4675c45e308f85b7c2d3dcd96415f9e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"6d1dff42_20069286","updated":"2022-05-07 15:24:59.000000000","message":"Hi Antonio, my build issues have been resolved and I could run openocd under qemu. Thank to that I have identified an issue with big enfdian platform detection in configure.ac. Need another patch for vdebug.  ","commit_id":"4e7d06560264829588a5208bb58588ea579171cd"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"a66e25e9098ceccd7e1aa4b7bfc7557cea3e0d63","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"2b0920e9_d70604e2","updated":"2022-05-07 21:19:29.000000000","message":"Erhan is using docker with a pre-compiled big-endian image, instead of building with buildroot.\nTo be checked, as it could be way easier than hacking with buildroot and should drop the 2 hours startup build.\nFrom https://github.com/multiarch/qemu-user-static\ndocker run --rm -t s390x/ubuntu bash\nThe limitation I see is that docker images are based on standard Linux distro; we could run out of big-endian support if they drop interest for those archs.","commit_id":"d39f41b08590a71ace671dc9d8f8861bb1fc9e58"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"1b0f16a4ad66e67e0a882c2e7982e0e97710b134","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"fe20ed2c_1a84fc22","updated":"2022-05-08 14:17:59.000000000","message":"Thank you for updating the docs. Looks good!","commit_id":"d39f41b08590a71ace671dc9d8f8861bb1fc9e58"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"7b8545f3e004137187504bba45a8c85c6a15d725","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"19dea9a7_37a6604c","updated":"2022-05-07 20:29:03.000000000","message":"Thanks for your comments Jacek. Somehow I was lucky enough to not met such problems.\nBuildroot is a tool to build a Linux root filesystem, not really suitable for code development, but remains one of the easiest way to build all the dependencies to cross compile OpenOCD.","commit_id":"d39f41b08590a71ace671dc9d8f8861bb1fc9e58"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"0e038708397d820da53f7db08e36837ccde94ac7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"f1ebad91_8339faf0","updated":"2022-05-09 09:03:41.000000000","message":"Added mention on docker, chapter to be expanded.\nAdded config file to speed-up buildroot configuration or avoid UI and run everything from script.\nAdded support for pre-built toolchain from Linaro. It drastically reduces the build time and the disk space required. More recent toolchain from bootlin is available, but the config file only selects the little-endian toolchain (even if big-endian one is available). To be reported to bootlin.\n","commit_id":"3bb6fdd420d7fcbfba1f10aa29fc64b2c5d05c2b"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"6ed87d472a2b511cb43a9e77062c27e481faca3e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"303d0bbf_6b2eeec4","updated":"2022-08-16 10:56:22.000000000","message":"OK with me.","commit_id":"efbd7da9390c37051e70f37ba1460a59bbb14683"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"e73987dcb25a88d49d98eeb4eb661c3b0ab570cd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"35e4c7e7_7ee7b27d","updated":"2022-08-16 08:46:55.000000000","message":"Rebased and added minor changes to the text.\nI don\u0027t plan to expand it further right now, no time to allocate on this.\nBut I would like to see it part of next release so any user can test and improve it.\nLet me know if you disagree","commit_id":"efbd7da9390c37051e70f37ba1460a59bbb14683"}],"doc/manual/endianness.txt":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"change_message_id":"21d5f7496a91e6bcb10dfe427539296def22ed2b","unresolved":true,"context_lines":[{"line_number":18,"context_line":"- h_u64_to_le(), h_u32_to_le(), h_u16_to_le();"},{"line_number":19,"context_line":"- h_u64_to_be(), h_u32_to_be(), h_u16_to_be();"},{"line_number":20,"context_line":"- buf_bswap32(), buf_bswap16();"},{"line_number":21,"context_line":"- ... ."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"@section endianness_qemu Use QEMU to run different endianness"}],"source_content_type":"text/plain","patch_set":1,"id":"99cc1e96_6478bd1d","line":21,"range":{"start_line":21,"start_character":2,"end_line":21,"end_character":5},"updated":"2022-05-05 19:26:31.000000000","message":"Bit-oriented buf_get/set_u32/64() should be listed as well","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"fda6dc080dc6050fd5d8b0e38ffe5410356f6a13","unresolved":false,"context_lines":[{"line_number":18,"context_line":"- h_u64_to_le(), h_u32_to_le(), h_u16_to_le();"},{"line_number":19,"context_line":"- h_u64_to_be(), h_u32_to_be(), h_u16_to_be();"},{"line_number":20,"context_line":"- buf_bswap32(), buf_bswap16();"},{"line_number":21,"context_line":"- ... ."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"@section endianness_qemu Use QEMU to run different endianness"}],"source_content_type":"text/plain","patch_set":1,"id":"f78227a8_62fb0146","line":21,"range":{"start_line":21,"start_character":2,"end_line":21,"end_character":5},"in_reply_to":"99cc1e96_6478bd1d","updated":"2022-05-06 20:36:34.000000000","message":"Done","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"4817f8fe0e0b2716021b54a1de78775858f1ae66","unresolved":true,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"4. Build (and take a long coffee break ...):"},{"line_number":103,"context_line":"     @code{.unparsed}"},{"line_number":104,"context_line":"     make openocd"},{"line_number":105,"context_line":"     @endcode"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"5. Execute big-endian OpenOCD:"}],"source_content_type":"text/plain","patch_set":1,"id":"4cf6b7bf_3b7cba43","line":104,"range":{"start_line":104,"start_character":0,"end_line":104,"end_character":17},"updated":"2022-05-06 18:49:29.000000000","message":"Is there a way to pass custom parameters to configure script ? Most drivers need that to be enabled.","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"433f7823a4675c45e308f85b7c2d3dcd96415f9e","unresolved":true,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"4. Build (and take a long coffee break ...):"},{"line_number":103,"context_line":"     @code{.unparsed}"},{"line_number":104,"context_line":"     make openocd"},{"line_number":105,"context_line":"     @endcode"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"5. Execute big-endian OpenOCD:"}],"source_content_type":"text/plain","patch_set":1,"id":"b8b94e06_a7f28d17","line":104,"range":{"start_line":104,"start_character":0,"end_line":104,"end_character":17},"in_reply_to":"3918ccce_ea1f87e6","updated":"2022-05-07 15:24:59.000000000","message":"The make openocd builds only the drivers selected in step 2. In case the driver or option is not listed (vdebug did not exist in 0.11) you need manually change the configuration. This can be done by changing the openocd.mk (and Config.in to change dependencies) under package/openocd and rerun the build starting with configuration:\nmake openocd-reconfigure\n\nI think it is worth mentioning this option here.","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"8eeed48512fcafc32bbc6306bb85490146495b12","unresolved":true,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"4. Build (and take a long coffee break ...):"},{"line_number":103,"context_line":"     @code{.unparsed}"},{"line_number":104,"context_line":"     make openocd"},{"line_number":105,"context_line":"     @endcode"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"5. Execute big-endian OpenOCD:"}],"source_content_type":"text/plain","patch_set":1,"id":"3918ccce_ea1f87e6","line":104,"range":{"start_line":104,"start_character":0,"end_line":104,"end_character":17},"in_reply_to":"4cf6b7bf_3b7cba43","updated":"2022-05-06 20:14:07.000000000","message":"It will require modifying the internal scripts of buildroot. This is out of the scope of this tutorial.\nWhich parameter do you need to pass?\nTo build an adapter driver you don\u0027t need any parameter as today\u0027s default for OpenOCD is to automatically build every driver that has its dependency satisfied.\nThe driver vdebug has zero dependency, so should be build without any parameter.","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"1b0f16a4ad66e67e0a882c2e7982e0e97710b134","unresolved":false,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"4. Build (and take a long coffee break ...):"},{"line_number":103,"context_line":"     @code{.unparsed}"},{"line_number":104,"context_line":"     make openocd"},{"line_number":105,"context_line":"     @endcode"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"5. Execute big-endian OpenOCD:"}],"source_content_type":"text/plain","patch_set":1,"id":"16166634_415fa753","line":104,"range":{"start_line":104,"start_character":0,"end_line":104,"end_character":17},"in_reply_to":"b8b94e06_a7f28d17","updated":"2022-05-08 14:17:59.000000000","message":"Done","commit_id":"de5ec470927f18217e022048ba0bb2c0f0df2ad5"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"433f7823a4675c45e308f85b7c2d3dcd96415f9e","unresolved":true,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"@notes"},{"line_number":56,"context_line":"- OpenOCD source code in 3) must have \"./bootstrap\" already run because"},{"line_number":57,"context_line":"  buildroot does not install the autotools required for running \"./bootstrap\";"},{"line_number":58,"context_line":"- you need ~5GB disk space for buildroot build;"},{"line_number":59,"context_line":"- the first build takes ~2 hour on my crap 10+ years old laptop;"},{"line_number":60,"context_line":"- you need to install few tools for buildroot dependency, listed in"}],"source_content_type":"text/plain","patch_set":2,"id":"0648d5f8_5b2ed543","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":78},"updated":"2022-05-07 15:24:59.000000000","message":"Actually it does, you can see them under output/build.\nAnd this (newer version of autoconf choked on the held, bogus configure.ac under jimtcl) triggered the error I reported earlier.","commit_id":"4e7d06560264829588a5208bb58588ea579171cd"},{"author":{"_account_id":1001872,"name":"Jacek Wuwer","email":"jacekmw8@gmail.com","username":"jacekmw8"},"change_message_id":"1b0f16a4ad66e67e0a882c2e7982e0e97710b134","unresolved":false,"context_lines":[{"line_number":54,"context_line":""},{"line_number":55,"context_line":"@notes"},{"line_number":56,"context_line":"- OpenOCD source code in 3) must have \"./bootstrap\" already run because"},{"line_number":57,"context_line":"  buildroot does not install the autotools required for running \"./bootstrap\";"},{"line_number":58,"context_line":"- you need ~5GB disk space for buildroot build;"},{"line_number":59,"context_line":"- the first build takes ~2 hour on my crap 10+ years old laptop;"},{"line_number":60,"context_line":"- you need to install few tools for buildroot dependency, listed in"}],"source_content_type":"text/plain","patch_set":2,"id":"a05d628a_d2c45b66","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":78},"in_reply_to":"0648d5f8_5b2ed543","updated":"2022-05-08 14:17:59.000000000","message":"Done","commit_id":"4e7d06560264829588a5208bb58588ea579171cd"}]}
