blob: 8f8a3bb964ce4c3d0efb30e0edcb88c6fd409d4c [file] [log] [blame]
paris_yeh285cef92012-07-20 14:50:32 +08001/*
2 * Copyright (C) 2012 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include <dumpstate.h>
18
19void dumpstate_board()
20{
21 dump_file("board revision",
22 "/sys/devices/platform/grouper_misc/grouper_pcbid");
23 dump_file("board gpio status",
24 "/d/gpio");
25 dump_file("soc fuse production mode",
26 "/sys/firmware/fuse/odm_production_mode");
27 dump_file("emmc revision",
28 "/sys/devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0:0001/"
29 "prv");
30 dump_file("emmc capacity",
31 "/sys/devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0:0001/"
32 "sec_count");
Dmitry Shmidte02996a2012-07-31 10:20:13 -070033 dump_file("wlan", "/sys/module/bcmdhd/parameters/info_string");
paris_yeh285cef92012-07-20 14:50:32 +080034 dump_file("touch panel vendor and firmware version",
35 "/sys/class/switch/touch/name");
36};