LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-24-2019, 12:20 PM   #16
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 684

Original Poster
Rep: Reputation: 132Reputation: 132

Quote:
Originally Posted by SCerovec View Post
(a double HDMI KVM sort of switch - something)?
I'll pass on that.

I have what I need display wise, quirky workarounds are ok, thanks for the help.

Last edited by glorsplitz; 02-24-2019 at 12:24 PM.
 
Old 02-24-2019, 12:23 PM   #17
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 684

Original Poster
Rep: Reputation: 132Reputation: 132
oops - double post
 
Old 02-25-2019, 07:23 PM   #18
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 684

Original Poster
Rep: Reputation: 132Reputation: 132
Not sure if should be starting new thread but may be related to my disp.screen0_output_mode questions.
Quote:
/PROC/CMDLINE
This file shows the parameters passed to the kernel at the time it is started.
Is /proc/cmdline supposed to indicate the generic boot configurations as in "setenv bootcmd_generic..."? Or is /proc/cmdline not the same in arm as in x86_64?

I entered in the following order
Code:
setenv bootcmd_generic 'debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1366x768p60 hdmi.audio=EDID:1'
Code:
printenv bootcmd_generic
Quote:
bootcmd_generic=debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1366x768p60 hdmi.audio=EDID:1
Code:
saveenv
Quote:
Saving Environment to MMC...
Writing to MMC(0)... done
After reset and booting,
Code:
cat /proc/cmdline
Quote:
debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1280x720p50 hdmi.audio=EDID:0 root=/dev/sda2 waitforroot=3 rootfstype=ext4
This is not what was saveenv in bootcmd_generic:
Quote:
disp.screen0_output_mode=EDID:1280x720p50 hdmi.audio=EDID:0
Maybe I'm not understanding something somewhere? Thank you
 
Old 02-26-2019, 03:57 AM   #19
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 790

Rep: Reputation: 596Reputation: 596Reputation: 596Reputation: 596Reputation: 596Reputation: 596
Quote:
Originally Posted by glorsplitz View Post

Is /proc/cmdline supposed to indicate the generic boot configurations as in "setenv bootcmd_generic..."? Or is /proc/cmdline not the same in arm as in x86_64?
Ah, I scratched my head over this one a while back as well. I've added this to -current's installation document:

Code:
     IMPORTANT NOTE - Changing Linux Kernel boot parameters
     ||||||||||||||||||||||||||||||||||||||||||||||||||||||
     If you'd like to change the console output in the future (or any Linux Kernel
     command line value), you'd need to update the variable you're interested in
     (e.g. the 'slkconsole' U-Boot variable), _and_ re-enter the
     ''setenv bootargs "${slkconsole}....'' commands (see later post installation
      section further down this document), followed by 'saveenv'.
     This is due to the way U-Boot evaluates the variables.
Try re-entering your bootargs, and it ought to work.
I had assumed that U-Boot would process the variables dynamically, but it doesn't - you set the variables, and it evaluates them and stores the result.
 
3 members found this post helpful.
Old 02-26-2019, 07:45 PM   #20
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 684

Original Poster
Rep: Reputation: 132Reputation: 132
That was it drmozes, thank you!

Code:
setenv bootcmd_generic 'debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1366x768p60 hdmi.audio=EDID:1'
setenv bootargs "${slkconsole} ${bootcmd_generic} root=/dev/sda2 waitforroot=3 rootfstype=ext4"
saveenv
reset
Code:
cat /proc/cmdline 
console=tty1 debug earlyprintk sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1366x768p60 hdmi.audio=EDID:1 root=/dev/sda2 waitforroot=3 rootfstype=ext4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Ov5640 driver on BananaPi M1 bues Linux - Embedded & Single-board computer 1 09-25-2018 07:56 AM
Computer detecting right-click as left-click, left-click as left-click and middle with 2 fingers pressed as right-click Festerdam Linux - Newbie 5 06-19-2017 05:41 PM
[ LeMaker BananaPi ] USB ports seem to be DOA ricky_cardo Slackware - ARM 24 02-21-2016 06:24 PM
id "2", "3", "4", "5"respawning too fast: disabled for 5 minutes cesarff2000 Linux - Newbie 3 06-27-2012 10:50 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration