{"id":42,"date":"2013-01-09T13:36:57","date_gmt":"2013-01-09T12:36:57","guid":{"rendered":"http:\/\/rclobus.nl\/blog\/?p=42"},"modified":"2016-03-28T08:58:19","modified_gmt":"2016-03-28T07:58:19","slug":"use-debian-kernel-on-sheevaplug","status":"publish","type":"post","link":"https:\/\/rclobus.nl\/blog\/?p=42","title":{"rendered":"Use a regular Debian kernel on the Sheevaplug"},"content":{"rendered":"<p>A long time ago I found information about installing ubifs on the Sheevaplug.<br \/>\nHowever, it used a non-Debian kernel. This port describes the steps to boot from a regular Debian kernel.<\/p>\n<p>The information used is found <a title=\"Boot process of Debian on the Sheevaplug\" href=\"http:\/\/www.cyrius.com\/debian\/kirkwood\/sheevaplug\/boot.html\" target=\"_blank\">here<\/a>, <a title=\"Forum\" href=\"http:\/\/www.plugcomputer.org\/plugforum\/index.php?PHPSESSID=i1qq5q1gcgvkhukiu3qbergdb6&amp;topic=5894.0\" target=\"_blank\">here<\/a>, <a title=\"wiki\" href=\"http:\/\/www.digriz.org.uk\/debian\/debootstrap\/kirkwood\" target=\"_blank\">here<\/a> and <a title=\"blog\" href=\"http:\/\/blog.bofh.it\/debian\/id_265\" target=\"_blank\">here<\/a>.<\/p>\n<p>$ dpkg-reconfigure linux-image-2.6.32-5-kirkwood<br \/>\nA warning is issued about the name of the root device ubi0:rootfs<br \/>\n$ flash-kernel<br \/>\nIt doesn&#8217;t write to the flash memory, but generates \/boot\/uImage and \/boot\/uInitrd<\/p>\n<p>The following environment is used in U-Boot (version 2011.12):<\/p>\n<p><code>baudrate=115200<br \/>\nbootargs=console=ttyS0,115200 mtdparts=orion_nand:512k(uboot),4m@1m(kernel),507m@5m(rootfs) rw ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs<br \/>\n<span style=\"color: #008000;\">bootcmd=run bootubi<\/span><br \/>\nbootdelay=3<br \/>\nbootnand=${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; ${x_bootcmd_usb}; ${x_bootcmd_sata}; bootm 0x6400000;<br \/>\nbootubi=run x_bootcmd_ubi; run x_bootcmd_regular; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x800000 0x1100000;<br \/>\nethact=egiga0<br \/>\nethaddr=<del datetime=\"2013-01-09T12:23:23+00:00\">XX:XX:XX:XX:XX:XX<\/del><br \/>\nmtddevname=uImage<br \/>\nmtddevnum=0<br \/>\n<span style=\"color: #008000;\">mtdids=nand0=orion_nand<\/span><br \/>\n<span style=\"color: #008000;\">mtdparts=mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x0500000(rootfs)<\/span><br \/>\npartition=nand0,0<br \/>\nstderr=serial<br \/>\nstdin=serial<br \/>\nstdout=serial<br \/>\nx_bootargs=console=ttyS0,115200 mtdparts=orion_nand:512k(uboot),4m@1m(kernel),507m@5m(rootfs) rw<br \/>\nx_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs<br \/>\nx_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000<br \/>\n<span style=\"color: #008000;\">x_bootcmd_regular=setenv mainlineLinux yes; setenv arcNumber 2097;<\/span><br \/>\nx_bootcmd_sata=ide reset;<br \/>\n<span style=\"color: #008000;\">x_bootcmd_ubi=ubi part nand0,1; ubifsmount rootfs; ubifsload 0x800000 \/boot\/uImage; ubifsload 0x1100000 \/boot\/uInitrd;<\/span><br \/>\nx_bootcmd_usb=usb start;<\/code><br \/>\nIn order to use the setenv command, the $ and ; must be escaped with a backslash.The highlighted parts are the parts I needed for a correct boot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A long time ago I found information about installing ubifs on the Sheevaplug. However, it used a non-Debian kernel. This port describes the steps to boot from a regular Debian kernel. The information used is found here, here, here and here. $ dpkg-reconfigure linux-image-2.6.32-5-kirkwood A warning is issued about the name of the root device [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[8,9],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-debian","tag-debian-2","tag-sheevaplug"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42"}],"version-history":[{"count":7,"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=\/wp\/v2\/posts\/42\/revisions\/109"}],"wp:attachment":[{"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rclobus.nl\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}