using the console
I've re-compiled the kernel with
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
and added
fbcon=rotate:3
to the end of the /boot/cmdline.txt
and now I have 80x100 console display running.
\o/
happy bunny
RPi in portrait mode
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
Cool. I need this mode for a project I'm working on.
Any chance you could share your modified kernel?
Any chance you could share your modified kernel?
Re: RPi in portrait mode
Nice. I've been eyeing some of the 90deg twisting monitors lately. Good to know it will work.
Re: RPi in portrait mode
I'll put a up link monday for the kernel
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
Great, thanks 

Re: RPi in portrait mode
http://www.sendspace.com/file/h4dcns
this is debian squeeze kernel.img ... make a backup for your existing one ... hope it works ... lets see
this is debian squeeze kernel.img ... make a backup for your existing one ... hope it works ... lets see
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
Thanks for the upload
I'll give it a try when I get a chance.

-
- Posts: 3
- Joined: Wed Jul 18, 2012 9:50 am
Re: RPi in portrait mode
Rattus - Any chance you've looked at doing this for the newer Raspbian release please?
Re: RPi in portrait mode
This worked fine for us to get the console rotated, but not the GUI.
Running 2012-07-15-wheezy-raspbian
All we did was to swap out the kernel.img file and added fbcon=rotate:3 to the end of the /boot/cmdline.txt
Now, we just need to get randr working
Running 2012-07-15-wheezy-raspbian
All we did was to swap out the kernel.img file and added fbcon=rotate:3 to the end of the /boot/cmdline.txt
Now, we just need to get randr working
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6062
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: RPi in portrait mode
I've had a think about this and it's something that the GPU can do almost for free.
Try this build:
https://dl.dropbox.com/u/3669512/temp/start_rot.elf
and add
display_rotate=1
to config.txt.
(1=90, 2=180, 3=270 degrees of rotation)
There's definitely some issues with this build, like fbset, and how hdmi resolutions are reported (should they be 1920x1080 or 1080x1920?).
But give it a go.
Try this build:
https://dl.dropbox.com/u/3669512/temp/start_rot.elf
and add
display_rotate=1
to config.txt.
(1=90, 2=180, 3=270 degrees of rotation)
There's definitely some issues with this build, like fbset, and how hdmi resolutions are reported (should they be 1920x1080 or 1080x1920?).
But give it a go.
Re: RPi in portrait mode
Just tried Dom proposal and it worked fine so far
Could you explain it a bit further?
I am doing several test with the RPi connected to a 46'' Samsung screen and looks awesome for the price

I am doing several test with the RPi connected to a 46'' Samsung screen and looks awesome for the price

Re: RPi in portrait mode
I am also testing dom's proposal and it works just great 
Simple and elegant way to rotate screen!

Simple and elegant way to rotate screen!
Re: RPi in portrait mode
awesome - this works great
;-p
;-p
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
I've been looking for a way of using the Raspberry Pi in portrait mode for a while, and this works in both command line and Xwindows with no issues - simply replaced start.elf with the build supplied and added the line as Dom describes. I will be using it for a rolling display at home, as a vertically placed screen fits the hole left by a previous fish tank!
Could Dom provide some explanation on why the new build works, and whether it will be included in future releases?

Could Dom provide some explanation on why the new build works, and whether it will be included in future releases?
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6062
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: RPi in portrait mode
It's in the main source tree, so support is in current latest firmware and will be in any future builds.dajavous wrote: Could Dom provide some explanation on why the new build works, and whether it will be included in future releases?
-
- Posts: 13
- Joined: Wed Jul 11, 2012 3:30 pm
Re: RPi in portrait mode
For those having trouble with this, try changing the memory split to give more memory to the graphics. I could not get portrait mode working until I did that.
Re: RPi in portrait mode
yes in latest [ < 15th September] I have to use the 192 split to use the rotated display , 224 / 240 both both work for me
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6062
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: RPi in portrait mode
What does "fbset -s" report? The rotated display does require more GPU memory, but I'm surprised 224M is not sufficient.RaTTuS wrote:yes in latest [ < 15th September] I have to use the 192 split to use the rotated display , 224 / 240 both both work for me
Re: RPi in portrait mode
mode "1200x1600"
geometry 1200 1600 1200 1600 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode
I'll try 224 again shortly
geometry 1200 1600 1200 1600 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode
I'll try 224 again shortly
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
just updated everything
and can confirm that
224 does not work - rotated
192 rotated and the multicolour screen is centered on the screen
224 and it is top left aligned and does not get any further
and can confirm that
224 does not work - rotated
192 rotated and the multicolour screen is centered on the screen
224 and it is top left aligned and does not get any further
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
Update: SOLVED
After scouring more Google hits. I came across a forum that lead me to believe replacing the "start.elf" file is no longer needed. You simply add the "display_rotate=x" line in the config.txt file.
The catch is... portrait mode requires a higher GPU/CPU split of the RAM. So I fired up "raspi-config" and gave 128MB to the GPU (per the other forum post). I added the "display_rotate=1" line back in the config.txt and rebooted. BAM! Screen is rotated. If I backed the split back down to 16MB for GPU... no boot. So I got it working.
Figured I'd post my update in case anyone else finds their way to this thread via Google. =)
Original Post:
Hey all,
Dom's "start_rot.elf" and the config line didn't work for me using the latest "2012-10-28-wheezy-raspbian.zip" build. I'm putting together a MAME cabinet so this is why I'm trying to boot everything in portrait mode.
Hardware:
256mb Raspi - 900Mhz overclocked
RAM Split: 16MB to video - remainder to system
Vizio 21" 1080p HDTV 60Hz.
HDMI 1.4 and 1.3 cables tested.
Class 10 16GB microSD
Powered USB 2.0 hub
Steps:
sudo mv /boot/start.elf to /boot/start.elf.bkp
sudo mv /boot/start_rot.elf /boot/start.elf
sudo nano /boot/config.txt
added: display_rotate=1 to end of file and saved.
sudo reboot
Result:
You see the initial rainbow palette screen in an unrotated view. Then nothing. You don't see any of the boot up code running. Also as a check... Caps Lock and NumLock won't light up on the keyboard so it appears something is hanging the boot process.
Simply removing the line in the config.txt and swapping the original start.elf back in and everything boots fine.
Any ideas? I see others say they got it working. Is there anything in my steps above that is wrong or missing?
Thanks.
-ZenTsang
After scouring more Google hits. I came across a forum that lead me to believe replacing the "start.elf" file is no longer needed. You simply add the "display_rotate=x" line in the config.txt file.
The catch is... portrait mode requires a higher GPU/CPU split of the RAM. So I fired up "raspi-config" and gave 128MB to the GPU (per the other forum post). I added the "display_rotate=1" line back in the config.txt and rebooted. BAM! Screen is rotated. If I backed the split back down to 16MB for GPU... no boot. So I got it working.
Figured I'd post my update in case anyone else finds their way to this thread via Google. =)
Original Post:
Hey all,
Dom's "start_rot.elf" and the config line didn't work for me using the latest "2012-10-28-wheezy-raspbian.zip" build. I'm putting together a MAME cabinet so this is why I'm trying to boot everything in portrait mode.
Hardware:
256mb Raspi - 900Mhz overclocked
RAM Split: 16MB to video - remainder to system
Vizio 21" 1080p HDTV 60Hz.
HDMI 1.4 and 1.3 cables tested.
Class 10 16GB microSD
Powered USB 2.0 hub
Steps:
sudo mv /boot/start.elf to /boot/start.elf.bkp
sudo mv /boot/start_rot.elf /boot/start.elf
sudo nano /boot/config.txt
added: display_rotate=1 to end of file and saved.
sudo reboot
Result:
You see the initial rainbow palette screen in an unrotated view. Then nothing. You don't see any of the boot up code running. Also as a check... Caps Lock and NumLock won't light up on the keyboard so it appears something is hanging the boot process.
Simply removing the line in the config.txt and swapping the original start.elf back in and everything boots fine.
Any ideas? I see others say they got it working. Is there anything in my steps above that is wrong or missing?
Thanks.
-ZenTsang
Re: RPi in portrait mode
display_rotate=3
gpu_mem=32
this is what I use in my config.txt file and it works fine
any less and it does not boot. [IIRC]
gpu_mem=32
this is what I use in my config.txt file and it works fine
any less and it does not boot. [IIRC]
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe
Re: RPi in portrait mode
the display_rotate method works great, thanks!