)]}' { "commit": "4f63c0b94a36498b82624038cf28306231b9bf5b", "tree": "06073a7a9b729d227d7f43296abb08e29af2029f", "parents": [ "beba6fc12a30ff6b0bfd53e5b0f91aa88672d65a" ], "author": { "name": "Brian Norris", "email": "briannorris@chromium.org", "time": "Thu Nov 15 19:54:05 2018" }, "committer": { "name": "chrome-bot", "email": "chrome-bot@chromium.org", "time": "Sat Nov 17 03:50:43 2018" }, "message": "CHROMIUM: ath10k/wcn3990: add initial board-2.bin\n\nGenerated with the appended bash script using r00026.1.\n\nEventually, board-2.bin will be upstreamed, but it won\u0027t include the\nHACK step (forcing b33 to be the default bdwlan). We do this for now, to\nsupport boards that haven\u0027t yet set a board ID in the module OTP.\n\n\t#!/bin/bash\n\n\t# ${QCA_TOOLS} \u003d path to https://github.com/qca/qca-swiss-army-knife.git\n\tQCA_TOOLS\u003d/path/to/git/qca-swiss-army-knife\n\t# ${BDF_DIR} \u003d path to BDF (with bdwlan.*)\n\tBDF_DIR\u003d/path/to/sdm845-lc-1-0_test_device.git/wlan_proc/wlan/halphy_tools/host/bdfUtil/qca61x0/bdf\n\n\t[ $# -ne 1 ] \u0026\u0026 {\n\t\techo \"Too few arguments: expect output file (e.g., /path/to/board-2.bin)\" 1\u003e\u00262\n\t\texit 1\n\t}\n\n\tOUT\u003d\"$1\"\n\n\tTMPDIR\u003d\"$(mktemp -d)\"\n\tJSON\u003d\"${TMPDIR}/board-2.json\"\n\n\tcleanup() {\n\t\trm -rf \"${TMPDIR}\"\n\t}\n\n\ttrap cleanup EXIT\n\n\tcp -r \"${BDF_DIR}\"/* \"${TMPDIR}\"\n\t## HACK: b33 is the best \"default\" board for us for now. Eventually, we should\n\t## get real board IDs OTP\u0027d to the module.\n\tcp \"${TMPDIR}/bdwlan.b33\" \"${TMPDIR}/bdwlan.bin\"\n\n\titer\u003d0\n\techo \"[\" \u003e \"${JSON}\"\n\tfor file in \"${TMPDIR}\"/bdwlan.*; do\n\t\t[[ $file \u003d\u003d *.txt ]] \u0026\u0026 continue\n\n\t\titer\u003d$((iter+1))\n\t\t[ $iter -ne 1 ] \u0026\u0026 echo \" },\" \u003e\u003e \"${JSON}\"\n\n\t\techo \" {\" \u003e\u003e \"${JSON}\"\n\t\techo \" \\\"data\\\": \\\"$file\\\",\" \u003e\u003e \"${JSON}\"\n\t\tif [[ $file \u003d\u003d */bdwlan.bin ]]; then\n\t\t\tfile_ext\u003d\"ff\"\n\t\telse\n\t\t\tfile_ext\u003d\"$(printf \u0027%x\\n\u0027 \"$(basename \"${file}\" | sed -E \u0027s:^.*\\.b?([0-9a-f]*)$:0x\\1:\u0027)\")\"\n\t\tfi\n\t\techo \" \\\"names\\\": [\\\"bus\u003dsnoc,qmi-board-id\u003d${file_ext}\\\"]\" \u003e\u003e \"${JSON}\"\n\tdone\n\n\techo \" }\" \u003e\u003e \"${JSON}\"\n\techo \"]\" \u003e\u003e \"${JSON}\"\n\n\t\"${QCA_TOOLS}\"/tools/scripts/ath10k/ath10k-bdencoder -c \"${JSON}\" -o \"${OUT}\"\n\nBUG\u003db:78530936, b:119626783\nTEST\u003dCheza Wifi\n\nChange-Id: Ie5c7503ceeab26119029f037a9e7cca1ce723f56\nSigned-off-by: Brian Norris \u003cbriannorris@chromium.org\u003e\nReviewed-on: https://chromium-review.googlesource.com/1337445\nTested-by: Govind Singh \u003cgovinds@qualcomm.corp-partner.google.com\u003e\nReviewed-by: Govind Singh \u003cgovinds@qualcomm.corp-partner.google.com\u003e\n", "tree_diff": [ { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "0b27efecc5f04de44adf33e6d7ebdbd29577b8de", "new_mode": 33188, "new_path": "ath10k/WCN3990/hw1.0/board-2.bin" } ] }