* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-15 12:44 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-15 12:44 UTC (permalink / raw)
To: buildroot
Hi Joe,
In target/generic/device_table.txt, I added the lines
/dev/ttySAC c 666 0 0 204 5 0 1 3
Verified that the ttySAC0 is present in dev/ .But still the output remains the same.
registered taskstats version 1
Freeing init memory: 1032K
Can't open /dev/ttySAC0: No such device or address
Can't open /dev/ttySAC0: No such device or address
Can't open /dev/ttySAC0: No such device or address
I dont know weather the major and minor numbers are correct or wrong. How can I find out that? Where do I get more information regarding this?
Thanks in advance.
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-23 4:08 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-23 4:08 UTC (permalink / raw)
To: buildroot
Hi Russel,
> > Welcome to the Waveaxis's development environment.
> > uclibc login: root
> > process '/sbin/getty -L ttySAC0 115200 vt100' (pid 315) exited. Scheduling it
> for restart.
> > starting pid 316, tty '/dev/ttySAC0': '/sbin/getty'
> >
> >
> > What could be the problem?
>
> You don't have ttySAC0 in /etc/securetty ?
No, I dont have.. Just adding ttySAC0 in /etc/securetty dint make any difference.
Is there anything else that I should change?
Thanks in advance.
Tiju
Bring your gang together. Do your thing. Find your favourite Yahoo! group at http://in.promos.yahoo.com/groups/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-17 7:05 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-17 7:05 UTC (permalink / raw)
To: buildroot
Hi Dave,
I tried with the december version. The output is still the same.
init started: BusyBox v1.9.1 (2008-04-17 11:53:03 IST)
starting pid 301, tty '': '/etc/init.d/rcS'
starting pid 307, tty '/dev/ttySAC0': '/sbin/getty'
Welcome to the Waveaxis's development environment.
uclibc login: root
process '/sbin/getty -L ttySAC0 115200 vt100' (pid 307) exited. Scheduling it for restart.
starting pid 315, tty '/dev/ttySAC0': '/sbin/getty'
Welcome to the Waveaxis's development environment.
uclibc login: root
process '/sbin/getty -L ttySAC0 115200 vt100' (pid 315) exited. Scheduling it for restart.
starting pid 316, tty '/dev/ttySAC0': '/sbin/getty'
What could be the problem?
Regards,
Tiju
Best Jokes, Best Friends, Best Food and more. Go to http://in.promos.yahoo.com/groups/bestofyahoo/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-17 6:10 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-17 6:10 UTC (permalink / raw)
To: buildroot
Hi,
> The /etc/init.d/rcS gets invoked from the /etc/inittab. You comment the
> line in /etc/init.d/rcS
> And uncomment anyone of the following depending upon the tty driver you
> are using. You will get the shell prompt.
> # tty2::askfirst:/bin/sh
> # tty3::askfirst:/bin/sh
> # tty4::askfirst:/bin/sh
>
The problem remains the same. Each time I hit the enter key, it goes back to the same line.
Output is as follows:
NET: Registered protocol family 1
NET: Registered protocol family 17
registered taskstats version 1
Freeing init memory: 608K
Please press Enter to activate this console.
Please press Enter to activate this console.
Please press Enter to activate this console..
Please press Enter to activate this console.
What could be the problem?
Regards,
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-16 7:33 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-16 7:33 UTC (permalink / raw)
To: buildroot
Hi,
> then you have messed up somewhere in between. a standard working
> buildroot config defaults to this login.
> maybe your system tries to use a non-working shadow file or your
> password files are crunched somehow.
I build the whole buildroot again. Do we have to make the changes only in "target/generic/device_table.txt" and "etc/inittab" to enable ttySAC0? Do we have to modify "/etc/securetty" to have root permissions? If so, I tried modifying it and added ttySAC0. But still it comes back to the same login.
....
....
NET: Registered protocol family 1
NET: Registered protocol family 17
registered taskstats version 1
Freeing init memory: 1108K
Welcome to the uClibc development environment.
DPB2440 login: root
Welcome to the uClibc development environment.
DPB2440 login:
Someone please help ! ! !
Thanks in Advance.
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-15 14:30 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-15 14:30 UTC (permalink / raw)
To: buildroot
Hi Joe,
> user: root
> pw: (none)
I had tried the root login. But it comes back to the same prompt
Welcome to the Erik's uClibc development environment.
uclibc login: root
Welcome to the Erik's uClibc development environment.
uclibc login:
Regards
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-15 13:33 Tiju Jacob
0 siblings, 0 replies; 13+ messages in thread
From: Tiju Jacob @ 2008-04-15 13:33 UTC (permalink / raw)
To: buildroot
Hi Joe,
I dint google it because I was a bit confused weather that was the problem or not.
But this time I did.
Now the output is :
Welcome to the Erik's uClibc development environment.
uclibc login:
What could be the login and password?
Thanks in advance.
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-15 12:08 Tiju Jacob
2008-04-15 12:08 ` Joe
0 siblings, 1 reply; 13+ messages in thread
From: Tiju Jacob @ 2008-04-15 12:08 UTC (permalink / raw)
To: buildroot
Hi Joe,
> 1. is it really a valid shellscript as set by buildroot?
Yes, It is a valid shell script. It is as follows.
for i in /etc/init.d/S??* ;do
# Ignore dangling symlinks (if any).
[ ! -f "$i" ] && continue
case "$i" in
*.sh)
# Source shell script for speed.
(
trap - INT QUIT TSTP
set start
. $i
)
;;
*)
# No sh extension, so fork subprocess.
$i start
;;
esac
done
> 2. does your inittab really put a getty/shell onto your (pretty unusual)
> console, e.g. something like:
> ttySAC0::respawn:/sbin/getty -L ttysac0 115200 vt100 (probably)
> near line 30 in the standard buildroot inittab?
No it does not have. And I uncommented the line saying:
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
and the output:
.....
registered taskstats version 1
Freeing init memory: 1032K
Can't open /dev/ttyS0: No such device or address
Can't open /dev/ttyS0: No such device or address
Can't open /dev/ttyS0: No such device or address
Then I added the line:
ttySAC0::respawn:/sbin/getty -L ttySAC0 115200 vt100
and the output:
....
registered taskstats version 1
Freeing init memory: 1032K
Can't open /dev/ttySAC0: No such file or directory
Can't open /dev/ttySAC0: No such file or directory
Can't open /dev/ttySAC0: No such file or directory
> 3. what happens if you give init=/bin/sh as a kernel parameter?
Same output.
What do I do to redirect the console to ttySAC0? I think that is the problem, right?
Thanks in advance.
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-15 3:53 Tiju Jacob
2008-04-15 6:28 ` Joe
0 siblings, 1 reply; 13+ messages in thread
From: Tiju Jacob @ 2008-04-15 3:53 UTC (permalink / raw)
To: buildroot
Hi,
> Freeing init memory: 1148K
> > Cannot run '/etc/init.d/rcS': No such file or directory
>
> Does this one exist?
It did not exist. So, I compiled it all new again and the following is the output.
Starting kernel ...
Uncompressing Linux............................................................................................
Linux version 2.6.24.4-default (tiju at tiju) (gcc version 4.2.1) #57 Tue Apr 15 08:58:38 IST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177
Machine: DPB2440
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/ram0 rw console=ttySAC0,115200
irq: clearing pending ext status 00000b00
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 64 (order: 6, 256 bytes)
timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 12620KB available (2184K code, 342K data, 1032K init)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c1800000, irq 33
DMA channel 1 at c1800040, irq 34
DMA channel 2 at c1800080, irq 35
DMA channel 3 at c18000c0, irq 36
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1.975:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
mice: PS/2 mouse device common for all mice
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
NET: Registered protocol family 1
NET: Registered protocol family 17
registered taskstats version 1
Freeing init memory: 1032K
Thats it. Nothing else appears. What could be the problem?
Thanks in advance.
Tiju
Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/
^ permalink raw reply [flat|nested] 13+ messages in thread* [Buildroot] Mount_filesystem_s3c2440
2008-04-15 3:53 Tiju Jacob
@ 2008-04-15 6:28 ` Joe
0 siblings, 0 replies; 13+ messages in thread
From: Joe @ 2008-04-15 6:28 UTC (permalink / raw)
To: buildroot
>> Freeing init memory: 1148K
>>> Cannot run '/etc/init.d/rcS': No such file or directory
>> Does this one exist?
>
>
> It did not exist. So, I compiled it all new again and the following is the output.
ok.
1. is it really a valid shellscript as set by buildroot?
2. does your inittab really put a getty/shell onto your (pretty unusual)
console, e.g. something like:
ttySAC0::respawn:/sbin/getty -L ttysac0 115200 vt100 (probably)
near line 30 in the standard buildroot inittab?
3. what happens if you give init=/bin/sh as a kernel parameter?
Greetz
--
Sepp "ZaP" Holzmayr
please reply to: zentrale.at.work at gmail.com
"Never underestimate the bandwidth of a freight train full of DAT tapes.
Only the round-trip is a little suboptimal."
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Mount_filesystem_s3c2440
@ 2008-04-14 13:30 Tiju Jacob
2008-04-14 13:26 ` Joe
0 siblings, 1 reply; 13+ messages in thread
From: Tiju Jacob @ 2008-04-14 13:30 UTC (permalink / raw)
To: buildroot
Hi All,
I have ported the latest linux kernel to s3c2440 (linux-2.6.24..4). And I used the latest snapshot of buildroot to make a cpio filesystem.. But the shell prompt does not come. The compilers used for building the kernel and the filesystem are different. The one used for buildroot is a uclibc version. Following is the whole output.
DRAM: 128 MB
Flash: 32 MB
Using default environment
In: serial
Out: serial
Err: serial
DPB2440 # bootm
## Booting image at 33000000 ...
Image Name: Linux-2.6.24.4-default
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2289776 Bytes = 2.2 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux............................................................................................
Linux version 2.6.24.4-default (tiju at tiju) (gcc version 4.2.1) #52 Mon Apr 14 15:54:37 IST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=00007177
Machine: DPB2440
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/ram0 rw console=ttySAC0,115200 init=/init
irq: clearing pending ext status 00000b00
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 64 (order: 6, 256 bytes)
timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 12500KB available (2184K code, 342K data, 1148K init)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c1800000, irq 33
DMA channel 1 at c1800040, irq 34
DMA channel 2 at c1800080, irq 35
DMA channel 3 at c18000c0, irq 36
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(2.135:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
mice: PS/2 mouse device common for all mice
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
NET: Registered protocol family 1
NET: Registered protocol family 17
registered taskstats version 1
Freeing init memory: 1148K
Cannot run '/etc/init.d/rcS': No such file or directory
Please press Enter to activate this console.
When I hit the Enter key, nothing else appears. But the keyboard is active.
What could be the problem?
Regards
Tiju
Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-04-23 4:08 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 12:44 [Buildroot] Mount_filesystem_s3c2440 Tiju Jacob
-- strict thread matches above, loose matches on Subject: below --
2008-04-23 4:08 Tiju Jacob
2008-04-17 7:05 Tiju Jacob
2008-04-17 6:10 Tiju Jacob
2008-04-16 7:33 Tiju Jacob
2008-04-15 14:30 Tiju Jacob
2008-04-15 13:33 Tiju Jacob
2008-04-15 12:08 Tiju Jacob
2008-04-15 12:08 ` Joe
2008-04-15 3:53 Tiju Jacob
2008-04-15 6:28 ` Joe
2008-04-14 13:30 Tiju Jacob
2008-04-14 13:26 ` Joe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox