Skip to content

Tag Archives: debug

Debugging suspend to ram in your embedded device

04-Jun-10

1) Kernel command line arguments Add 'init=/bin/bash no_console_suspend' to boot to a basic shell and keep the console output while the suspend is happening. 2) Mount proc and sys: mount -t proc /proc proc mount -t sysfs /sys sys 3) Prepare the wake up source: Any wake up source is valid, like a GPIO: echo [...]

Debugging Ubuntu startup

01-Jun-10

  I had created a root filesystem for an ARM target using rootstock, with something like: sudo rootstock –fqdn karmic –login ubuntu –password ubuntu –imagesize 4G –dist karmic –serial ttyS0 –seed ubuntu-desktop,openssh-server Once I decompress it into my NFS server root and I tried booting my target (loading the kernel via TFTP), I was surprised by a [...]