Hello,
I have an iMX6 sabreai quad automotive eval board. I've built the kernel with an console only image. I downloaded the image to SD card and it booted ok. I can log in with just the username root. However today I was trying to boot with NFS, and ever since I configured that, I log in with root, yet it prompted me with a password request. What do I put in for this password? Any idea?
Here's my uboot config:
baudrate=115200 | |
boot_fdt=try |
bootargs=console=${console},${baudrate} ${smp} root=/dev/nfs ip=dhcp nfsroot=${se
rverip}:${nfsroot},v3,tcp | |
bootcmd=run netboot | |
bootcmd-ori=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run
bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; e
lse run netboot; fi | |
bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; | |
bootdelay=1 | |
bootfile=zImage | |
bootscript=echo Running bootscript from mmc ...; source | |
console=ttymxc3 | |
emmcdev=2 | |
epdc_waveform=epdc_splash.bin | |
ethact=FEC | |
ethaddr=00:04:9f:04:42:e4 | |
ethprime=FEC | |
fdt_addr=0x18000000 | |
fdt_file=imx6q-sabreauto.dtb | |
fdt_high=0xffffffff | |
fileaddr=18000000 | |
filesize=b744 | |
gatewayip=10.75.50.1 | |
image=zImage | |
initrd_addr=0x12C00000 | |
initrd_high=0xffffffff | |
ip_dyn=no | |
ipaddr=10.75.50.157 | |
loadaddr=0x12000000 | |
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script}; | |
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} | |
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} |
mfgtool_args=setenv bootargs console=ttymxc3,115200 rdinit=/linuxrc g_mass_storag
e.stall=0 g_mass_storage.removable=1 g_mass_storage.file=/fat g_mass_storage.ro=1
g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iS
erialNumber="" enable_wait_mode=off |
mmcargs=setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot}
mmcautodetect=yes |
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test
${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; el
se if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi;
fi; else bootz; fi; | |
mmcdev=1 | |
mmcpart=1 | |
mmcroot=/dev/mmcblk2p2 rootwait rw |
netargs=setenv bootargs console=ttymxc3,115200 root=/dev/nfs ip=10.75.50.157 nfs
root=10.75.50.151:/opt/iMX6,v3,tcp |
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then set
env get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${bo
ot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_fil
e}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bo
otz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; | |
netmask=255.255.255.0 | |
nfsroot=/opt/iMX6 | |
script=boot.scr | |
serverip=10.75.50.151 |
tftpbootcmd=tftpboot ${loadaddr} ${bootfile}; tftpboot ${fdt_addr} ${fdt_file}; r
un mmcargs; bootz ${loadaddr} - ${fdt_addr}; |
here's the last few messages before it prompted me to log in:
fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_ad
dr=2188000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
device=eth0, hwaddr=00:04:9f:04:42:e4, ipaddr=10.75.50.157, mask=255.0.0.0,
gw=255.255.255.255
host=10.75.50.157, domain=, nis-domain=(none)
bootserver=255.255.255.255, rootserver=10.75.50.151, rootpath=
can-stby: disabling
can-en: disabling
usb_otg_vbus: disabling
SW4: disabling
ALSA device list:
#0: cs42888-audio
#1: imx-spdif
#2: imx-hdmi-soc
VFS: Mounted root (nfs filesystem) readonly on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 428K (80a8f000 - 80afa000)
INIT: version 2.88 booting
Starting udev
udevd[203]: starting version 182
DBG sensor data is at 7f0141c0
random: nonblocking pool is initialized
ERROR: v4l2 capture: slave not found!
bootlogd: cannot allocate pseudo tty: No such file or directory
urandom start: failed.
Populating dev cache
/etc/rcS.d/S36udev-cache: line 67: /etc/udev-cache.tar.gz: Permission denied
udev-cache: update failed!
/etc/rcS.d/S37populate-volatile.sh: line 56: /etc/volatile.cache.build: Permissio
n denied
rm: can't remove '/etc/udev/cache.data': Permission denied
/etc/rcS.d/S37populate-volatile.sh: line 56: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 56: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 86: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 86: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 86: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 86: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 86: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 56: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 33: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 33: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 86: /etc/volatile.cache.build: Permissio
n denied
ln: /etc/resolv.conf: Permission denied
/etc/rcS.d/S37populate-volatile.sh: line 33: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 33: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 56: /etc/volatile.cache.build: Permissio
n denied
/etc/rcS.d/S37populate-volatile.sh: line 56: /etc/volatile.cache.build: Permissio
n denied
ALSA: Restoring mixer settings...
No state is present for card imxspdif
Found hardware: "imx-spdif" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card imxspdif
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
Could not create /var/lib/dbus/machine-id.GwziGoJf: Permission denied
Starting system message bus: dbus.
Starting rpcbind daemon...done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
Starting Telephony daemon
Starting Linux NFC daemon
Freescale i.MX Release Distro 4.1.15-1.1.1 imx6qsabreauto /dev/ttymxc3
imx6qsabreauto login: root
Password:
Login incorrect
imx6qsabreauto login:
Please try to set empty password for root:
root@tecno:~# head -1 /media/040d5655-7d9f-4913-8594-b5540c0fe51a/etc/passwd
root::0:0:root:/home/root:/bin/sh
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------