Not to be fixed
Created: Apr 23, 2013
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN4-13803
Found In Version: 6.0
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Kernel
after mount a flash fs the kernel crash.
this issue can be avoid by modifying the io.h:
arch/mips/include/asm/io.h
virt_to_phys()
static inline unsigned long virt_to_phys(volatile const void *address)
{
+#ifdef CONFIG_64BIT
+ if((unsigned long) address >= CKSEG0)
+ return (unsigned long)address - CKSEG0 + PHYS_OFFSET;
+#endif
return (unsigned long)address - PAGE_OFFSET + PHYS_OFFSET;
}
1
$ /opt/WindRiver/wrlinux-4/wrlinux/../ldat/configure --enable-board=nlm_xlp_64_be --enable-kernel=standard --enable-rootfs=glibc_small --enable-force-add-depends=yes --enable-jobs=4 --enable-parallel-pkgbuilds=4 --with-product-dir=/opt/WindRiver/wrlinux-4/wrlinux
2 see attachment