[SOLVED] Reduce systemctl tty spam on Chromebook

This forum is for supported devices using an ARMv7 Samsung SoC.

[SOLVED] Reduce systemctl tty spam on Chromebook

Postby EMKLI » Mon Mar 10, 2014 11:04 pm

Hi everyone,

I just set up my Chromebook with Arch and I find the massive output from systemctl kind of annoying. It even appears frequently when editing files with nano, which is really disturbing. Am I the only one who encouter this output. Is there a possibility to stop this?

Greetings,
Markus
Last edited by EMKLI on Mon Apr 14, 2014 9:34 pm, edited 1 time in total.
EMKLI
 
Posts: 11
Joined: Sun Apr 21, 2013 9:43 am

Re: Reduce systemctl tty spam on Chromebook

Postby WarheadsSE » Tue Mar 11, 2014 2:26 am

What you will need to do is to alter the boot.scr.uimg on mmcblk0p12.

$this->bbcode_second_pass_code('', '
$ sudo su
# mount /dev/mmcblk0p12 /mnt
# cd /mnt/u-boot
# cp boot.scr.uimg boot.scr.uimg.org
# cp boot.scr.uimg boot.scr
# vim boot.scr
')
At this point you need to remove the gibberish on the first line (everything before setenv) as it is the header that you will be replacing.
Add in the following to the end of the file
$this->bbcode_second_pass_code('', '
setenv common_bootargs cros_legacy console=/dev/ttyS0
')
Save and close the file.
Regenerate the uimg.
$this->bbcode_second_pass_code('', '
# pacman -S uboot-mkimage
# mkimage -A arm -T script -C none -n 'Chromebook Boot Script' -d boot.scr boot.scr.uimg
# cat boot.scr.uimg
# cd -
# umount /mnt
$
')

And.. reboot.


What we're doing here is removing the 'debug' argument being passed as part of cmdline (cat /proc/cmdline) that is telling systemd to spew that "spam"
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Reduce systemctl tty spam on Chromebook

Postby EMKLI » Fri Mar 14, 2014 10:10 am

Thank you for the answer. But are you sure that it has to be mmcblk0p12, not 1p12? mmcblk0 is the internal eMMC in my case. Shuouldn't I change the partition on the SD card?

Greetings, Markus
EMKLI
 
Posts: 11
Joined: Sun Apr 21, 2013 9:43 am

Re: Reduce systemctl tty spam on Chromebook

Postby WarheadsSE » Fri Mar 14, 2014 11:58 am

Yes, if you are using the SD, or USB, you should use that p12
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Reduce systemctl tty spam on Chromebook

Postby EMKLI » Fri Mar 14, 2014 1:11 pm

Thanks, it worked. :)

Last question: is it even possible to boot silent, in other words, is the silent flag enabled?
EMKLI
 
Posts: 11
Joined: Sun Apr 21, 2013 9:43 am

Re: Reduce systemctl tty spam on Chromebook

Postby WarheadsSE » Fri Mar 14, 2014 2:37 pm

Just add "quiet" to that list of arguments.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Reduce systemctl tty spam on Chromebook

Postby psychoacoustic » Mon Apr 07, 2014 1:13 pm

Thank you WarheadsSE, that issue has been bugging me a long time - it was tiring to type "dmesg -n 1" every time!
psychoacoustic
 
Posts: 8
Joined: Mon Apr 07, 2014 1:10 pm

Re: [SOLVED] Reduce systemctl tty spam on Chromebook

Postby EMKLI » Mon Apr 14, 2014 9:35 pm

Yeah, thanks! Now the boot is peaceful and quiet. :ugeek:
EMKLI
 
Posts: 11
Joined: Sun Apr 21, 2013 9:43 am

Re: [SOLVED] Reduce systemctl tty spam on Chromebook

Postby Polichronucci » Thu Apr 17, 2014 1:29 pm

I tried this method but whatever I change in the /boot/boot.scr.uimg nothng changes. I can even boot without a boot.scr.uimg.... How come?
Polichronucci
 
Posts: 31
Joined: Wed Oct 09, 2013 10:47 am

Re: [SOLVED] Reduce systemctl tty spam on Chromebook

Postby WarheadsSE » Thu Apr 17, 2014 1:56 pm

What are you booting off of?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Samsung

Who is online

Users browsing this forum: No registered users and 7 guests