<div>After barebox up, I erased the /dev/<a href="http://nand0.rootfs.bb">nand0.rootfs.bb</a> using erase command. kernel is already present in the /dev/nand0.kernel.</div><div>After ubiattach command, if I try the boot I am getting the below error. </div>
<div>Actually my aim is to boot the kernel and it should mount to ubifs, to simplify the problem and reproduce the same I am just trying the boot after ubiattach instead of preparing the ubi0 device.</div>Barebox >/ubiattach /dev/nand0.rootfs<div>
<div>UBI: attaching mtd0 to ubi0</div><div>UBI: physical eraseblock size: 1048576 bytes (1024 KiB)</div><div>UBI: logical eraseblock size: 1044480 bytes</div><div>UBI: smallest flash I/O unit: 4096</div><div>UBI: sub-page size: 1024</div>
<div>UBI: VID header offset: 1024 (aligned 1024)</div><div>UBI: data offset: 4096</div><div>UBI: empty MTD device detected</div><div>UBI: create volume table (copy #1)</div><div>UBI: create volume table (copy #2)</div>
<div>registering /dev/ubi0</div><div>UBI: attached mtd0 to ubi0</div><div>UBI: MTD device name: "nand0.rootfs"</div><div>UBI: MTD device size: 16 MiB</div><div>UBI: number of good PEBs: 16</div>
<div>UBI: number of bad PEBs: 0</div><div>UBI: max. allowed volumes: 128</div><div>UBI: wear-leveling threshold: 4096</div><div>UBI: number of internal volumes: 1</div><div>UBI: number of user volumes: 0</div>
<div>UBI: available PEBs: 10</div><div>UBI: total number of reserved PEBs: 6</div><div>UBI: number of PEBs reserved for bad PEB handling: 2</div><div>UBI: max/mean erase counter: 1/0</div><div><br></div><div><div>
Barebox >/ boot</div><div>booting kernel of type uimage from /dev/<a href="http://nand0.kernel.bb">nand0.kernel.bb</a></div><div>bootm /dev/<a href="http://nand0.kernel.bb">nand0.kernel.bb</a></div><div>requesting xmalloc size: 2456544</div>
<div>ERROR: out of memory</div></div><div><br></div><div>Please somebody suggest me some pointer to solve this issue.</div><div><br></div><div>Thanks,</div><div>Madhu</div><div><br></div></div>