uclinux & root fs

How to uclinux kernel know where is root file system? How to change address of root file system?

maslow

Reply to
km
Loading thread data ...

Hi Maslow

It setup in the right place from the mtd driver. look in linux-2.X.X/drivers/mtd/maps/.c and the interesting thing is: ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, mtd->index);

Regards,

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: snipped-for-privacy@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web:

formatting link
--- Free Embedded Linux Distro at
formatting link
---

Reply to
Damion de Soto

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.