LinuxMemsThe Project P&C

Incompleteness of the Dumpster

 

 

 

 

 

– Trash logs for future steps –

[to be updated]

 

– Kernel config –

CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=8

All the LPSS + Crystal cove / Whyskey cove

CONFIG_DYNAMIC_DEBUG is confusing, continue testing to reproduce.

 

– Kernel command line –

debug

acpio.debug…

ignore_loglevel or logevel=X

/*

loglevel= All Kernel Messages with a loglevel smaller than the
console loglevel will be printed to the console. It can
also be changed with klogd or other programs. The
loglevels are defined as follows:

0 (KERN_EMERG) system is unusable
1 (KERN_ALERT) action must be taken immediately
2 (KERN_CRIT) critical conditions
3 (KERN_ERR) error conditions
4 (KERN_WARNING) warning conditions
5 (KERN_NOTICE) normal but significant condition
6 (KERN_INFO) informational
7 (KERN_DEBUG) debug-level messages

*/

Linux/Documentation/kernel-parameters.txt

 

– Useful commands –

dmesg -n 8

echo 5 > /proc/sys/kernel/printk

cat /proc/sys/kernel/printk

 

– Syslog –

/etc/syslog-ng -> edit filters

Enable nirtcfg key.

See /xxx/natinst/logs…

 

– ACPI tables –

mkdir ~/acpitables
cd /sys/firmware/acpi/tables/
for i in * ; do sudo cat $i > ~/acpitables/$i.dat; done
cd ~/acpitables
for i in * ; do iasl -d $i ; done
cat *.dsl >> chuwi_hi12_acpi.dsl

See kernel documentation : custom acpi tables (2 methods : files or patches)

 

– Acpi-gpios Mapping –

https://www.kernel.org/doc/Documentation/acpi/gpio-properties.txt

Example :

static const struct acpi_gpio_params reset_gpio = { 1, 1, false };
static const struct acpi_gpio_params shutdown_gpio = { 0, 0, false };

static const struct acpi_gpio_mapping bluetooth_acpi_gpios[] = {
{ “reset-gpios”, &reset_gpio, 1 },
{ “shutdown-gpios”, &shutdown_gpio, 1 },
{ },
};

 

– About ping –

/etc/sysctl
# Ignore ICMP broadcasts
net.ipv4.icmp_echo_ignore_broadcasts = 0

 

– About modules building –

if the kernel is already built : make -C M=/kernelPath  /modulePath modules

 

– Conclusion –

Non-A but cannot A so non-A uncertain means…

Need switching the kernel…

There’s a long road here…

 

 

– I missed a step ! –

 

 

 

 

 

 

 

 

 

– It’s time for sparks –

Leave a Reply

Your email address will not be published. Required fields are marked *