PandaBoard: Serial Port login support

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Re: PandaBoard: Serial Port login support

Postby raumzeit » Mon Oct 17, 2011 9:44 pm

I obtained a pandaboard some days ago and could not get any login via serial console
$this->bbcode_second_pass_quote('kmihelich', 'L')ooks like the wrong files got into the rootfs somehow.

You need to change instances of ttyS0 to ttyO2 (capital letter o, 2) in /etc/inittab and /etc/securetty

In /etc/inittab change:
s0:12345:respawn:/sbin/agetty -8 -s 115200 ttyS0 linux
to:
s0:12345:respawn:/sbin/agetty -8 -s 115200 ttyO2 linux

In /etc/securetty change:
ttyS0
to:
ttyO2

This made my day ;) Thanx...
I was able to login via ssh before but these wrong tty devices seem to be still in the rootfs.
What should also be mentioned somewhere is that on the pandaboard (and I guess on the beagle as well) the vfat partition should be mounted as /boot in /etc/fstab
Otherwise an upgrade of the kernel results in a new kernel image in the second partition (rootfs) only while the kernel that gets loaded by uboot is not updated at all.
Something like
$this->bbcode_second_pass_code('', '/dev/disk/by-label/boot /boot vfat umask=0000,flush 0 0')
should do the trick, although a permission warning will appear when installing/updating the kernel
Or does someone have a better idea how to deal with that?
Also, I did not find any thread about a step-by-step installation for the pandaboard? Maybe one (or I) should start one???

greets from a new archlinuxarm user
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: PandaBoard: Serial Port login support

Postby kmihelich » Mon Oct 17, 2011 11:13 pm

Step by step guide. It's been there for quite some time.

I'm aware of the rootfs issue. I'm building an updated version soon.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: PandaBoard: Serial Port login support

Postby raumzeit » Tue Oct 18, 2011 9:31 am

$this->bbcode_second_pass_quote('kmihelich', '[')url=http://archlinuxarm.org/platforms/armv7/pandaboard?quicktabs_platform_tabs=1]Step by step guide.[/url] It's been there for quite some time.

I was aware of that, thank you anyways! However, It is a bit outdated, so I followed your guide for the latest hard-float release in the forum.

$this->bbcode_second_pass_quote('kmihelich', 'I')'m aware of the rootfs issue. I'm building an updated version soon.

Thanks in advance ;)
Should I for now better create an udev rule for mounting the vfat partition as /boot than directly placing it into /etc/fstab?


regards

ronny
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT
Top

Re: PandaBoard: Serial Port login support

Postby kmihelich » Tue Oct 18, 2011 3:21 pm

I'd imagine fstab would be the appropriate place. It should always show up in the system as /dev/mmcblk0p1 so that part's easy. Personally I mount the fat partition to /mnt and copy in /boot/uImage when I make new kernels, though setting up fstab would definitely make the process more seamless. I can play around with that too and see if there is a good solution. Shouldn't need to use udev for it.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Previous

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 7 guests