LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to give rootfs address to kernel. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-give-rootfs-address-to-kernel-4175604318/)

sunilkattubadi 04-21-2017 08:20 AM

how to give rootfs address to kernel.
 
Hi,
Iam using IMX6Q board with Yocto Project.Iam having a requirement of modifying the kernel(appending some data to the kernel)after modifying the kernel while booting its hanging after showing following lines.

mmc2: new high speed SDHC card at address e624
mmcblk2: mmc2:e624 SU08G 7.40 GiB
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mmcblk2: p1 p2
mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized

we are suspecting that kernel is not able to find the location of rootfs.if so please help me how to solve this problem.
thanks in advance.
sunilkattubadi.

floppy_stuttgart 04-22-2017 02:18 AM

Use the correct boot parameters?
My Raspberry PI show with dmesg "Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x4d5d1cfa smsc95xx.macaddr=abcdefghijklmnop bcm2708_fb.fbswap=1 bcm2708.uart_clock=3000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait". This is with raspian.
So, depending of your kernel, identify and use the correct boot parameter.
This is just my thought this morning. Perhaps it helps.


All times are GMT -5. The time now is 05:02 AM.