Over at [1] you can find a demo image that fits nicely into the nand of a revision C beagleboard with some 80MiB spare to install extra things. It is an Enlightenment based desktop with Midori as webbrowser, NetworkManager as well, the network manager, a VNc server is started by default and Jasons test scripts are included as well.
If you have requests for packages to get added or removed, let me know, but keep in mind there's only 256MiB of NAND and the LZO compression in ubifs doesn't do much for binaries.
Flashing the easy way:
1) download [4]
2) bunzip rootfs.dd.img
3) dd if=rootfs.dd.img of=/dev/sdX, where X is the actual device of the SD card in your cardreader.
4) insert into beagle and boot
5) Watch serial for the reboot instruction of wait 15 minutes before rebooting
Flashing the harder way:
1) make your own SD card with MLO, u-boot.bin, uImage, rootfs.ubi and boot.scr
2) insert into beagle and boot
3) Watch serial for the reboot instruction of wait 15 minutes before rebooting
Flashing the even harder way:
1) use the tar.bz2 to make your own ubi file, etc, etc
For the curious, the README at [2] explains how the flashing works and how to reproduce it on your own.
For people wanting to see what's inside the image, look at package sizes and dependencies, have a look at [3]. It also works on xM using an microSD card, feel free to use the tar.bz2 for that.
regards,
Koen
[1] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/
[2] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/README
[3] http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/tree/beagleboard/Beagleboard-NAND-image
[4] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/rootfs.dd.img.bz2
> On 02/23/2011 02:53 AM, Koen Kooi wrote:
>> Hi,
>>
>> Over at [1] you can find a demo image that fits nicely into the nand of a revision C beagleboard with some 80MiB spare to install extra things. It is an Enlightenment based desktop with Midori as webbrowser, NetworkManager as well, the network manager, a VNc server is started by default and Jasons test scripts are included as well.
>> If you have requests for packages to get added or removed, let me know, but keep in mind there's only 256MiB of NAND and the LZO compression in ubifs doesn't do much for binaries.
>>
>> Flashing the easy way:
>>
>> 1) download [4]
>> 2) bunzip rootfs.dd.img
>> 3) dd if=rootfs.dd.img of=/dev/sdX, where X is the actual device of the SD card in your cardreader.
>> 4) insert into beagle and boot
>> 5) Watch serial for the reboot instruction of wait 15 minutes before rebooting
>
> I tried following these steps and sadly it failed on my [old] rev-C3 board.
>
> Here's what I see:
> ============================================================================================
> Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
> Reading boot sector
> Loading u-boot.bin from mmc
>
>
> U-Boot 2010.03 (Feb 20 2011 - 20:15:58)
>
> OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max clock-600Mhz
> OMAP3 Beagle board + LPDDR/NAND
> I2C: ready
> ============================================================================================
>
> It hangs at this point. I know that this is the "new U-Boot, old MLO" problem,
> but there is an MLO on the SD card which does not seem to be used. I even tried
> holding down the user button during boot, but I can't get it to boot the new MLO.
>
> Ideas on what else I can do?
Yes, it's right below:
>> Flashing the harder way:
>>
>> 1) make your own SD card with MLO, u-boot.bin, uImage, rootfs.ubi and boot.scr
>> 2) insert into beagle and boot
>> 3) Watch serial for the reboot instruction of wait 15 minutes before rebooting
>>
>> Flashing the even harder way:
>>
>> 1) use the tar.bz2 to make your own ubi file, etc, etc
>>
>> For the curious, the README at [2] explains how the flashing works and how to reproduce it on your own.
>>
>> For people wanting to see what's inside the image, look at package sizes and dependencies, have a look at [3]. It also works on xM using an microSD card, feel free to use the tar.bz2 for that.
>>
>> regards,
>>
>> Koen
>>
>> [1] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/
>> [2] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/README
>> [3] http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/tree/beagleboard/Beagleboard-NAND-image
>> [4] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/rootfs.dd.img.bz2
>>
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
I tried following these steps and sadly it failed on my [old] rev-C3 board.
Here's what I see:
============================================================================================
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Loading u-boot.bin from mmc
U-Boot 2010.03 (Feb 20 2011 - 20:15:58)
OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max clock-600Mhz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
============================================================================================
It hangs at this point. I know that this is the "new U-Boot, old MLO" problem,
but there is an MLO on the SD card which does not seem to be used. I even tried
holding down the user button during boot, but I can't get it to boot the new MLO.
Ideas on what else I can do?
Thanks
>
> Flashing the harder way:
>
> 1) make your own SD card with MLO, u-boot.bin, uImage, rootfs.ubi and boot.scr
> 2) insert into beagle and boot
> 3) Watch serial for the reboot instruction of wait 15 minutes before rebooting
>
> Flashing the even harder way:
>
> 1) use the tar.bz2 to make your own ubi file, etc, etc
>
> For the curious, the README at [2] explains how the flashing works and how to reproduce it on your own.
>
> For people wanting to see what's inside the image, look at package sizes and dependencies, have a look at [3]. It also works on xM using an microSD card, feel free to use the tar.bz2 for that.
>
> regards,
>
> Koen
>
> [1] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/
> [2] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/README
> [3] http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/tree/beagleboard/Beagleboard-NAND-image
> [4] http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/rootfs.dd.img.bz2
>
--
What an absolutely worthless reply :-( I already tried rebuilding the FAT portion
of the SD card, carefully copying MLO first, etc. Still no joy.
Exactly which of the steps below will solve the problem and how?
I managed to get this going, more or less following the instructions at
http://dominion.thruhere.net/koen/angstrom/beagleboard/flasher/README
I had to modify the mkcard.txt script as it does not make a large enough FAT
partition on the SD card to hold everything.
# diff -u mkcard.txt{~,}
--- mkcard.txt~ 2010-07-29 02:40:18.000000000 -0600
+++ mkcard.txt 2011-02-23 07:30:53.000000000 -0700
@@ -26,7 +26,7 @@
echo CYLINDERS - $CYLINDERS
{
-echo ,9,0x0C,*
+echo ,29,0x0C,*
echo ,,,-
} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE
Once I did hat, I copied the files to the disk like this (this info is strikingly
missing from the README)
# mount /dev/sdb1 /mnt/disk
# cp MLO /mnt/disk
# cp boot.scr u-boot.bin uImage rootfs.ubi /mnt/disk
# umount /mnt/disk
Finally I was able to boot and reprogram the NAND :-)
Sadly, I still have problems. First, I get this error during boot:
======================================================================================
Starting udev
[ 18.699584] Unable to handle kernel NULL pointer dereference at virtual address 00000030
[ 18.960479] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 19.005157] pgd = cf21c000
[ 19.007873] [00000030] *pgd=8f17c031, *pte=00000000, *ppte=00000000
[ 19.197357] twl_rtc twl_rtc: Power up reset detected.
[ 19.295013]
[ 19.296539] Internal error: Oops: 17 [#1] PREEMPT
[ 19.301269] last sysfs file: /sys/module/mailbox_mach/initstate
[ 19.307220] Modules linked in: rtc_twl(+) mailbox_mach mailbox mt9t112(+) rtc_core
[ 19.314880] CPU: 0 Not tainted (2.6.32 #3)
[ 19.319366] PC is at regulator_enable+0x4/0x38
[ 19.323852] LR is at mt9t112_power_set+0xa0/0x12c
[ 19.328582] pc : [<c02959e4>] lr : [<c00506a4>] psr: a0000113
[ 19.328582] sp : cf223cac ip : cf223c70 fp : cfa4215c
[ 19.340118] r10: cfa42134 r9 : 00000001 r8 : cf222000
[ 19.345367] r7 : 00000001 r6 : cf8a3800 r5 : cfa42134 r4 : 00000032
[ 19.351928] r3 : c0672b20 r2 : 00000000 r1 : c048bc10 r0 : 00000000
[ 19.358520] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 19.365692] Control: 10c5387d Table: 8f21c019 DAC: 00000015
[ 19.371459] Process modprobe (pid: 133, stack limit = 0xcf2222f0)
[ 19.377593] Stack: (0xcf223cac to 0xcf224000)
[ 19.381988] 3ca0: 00000032 cfa42134 c00506a4 00000003 cfa89ec0
[ 19.390197] 3cc0: 00000001 bf00b748 c062b260 c062fa38 00000001 cf28cec0 cfa98000 cfa89ec0
[ 19.398437] 3ce0: 00000001 00000000 00000001 cf222000 00000001 cfa42134 cfa4215c c0361550
[ 19.406646] 3d00: c062b6d8 cfa89ec0 cfa42134 c0379a1c 00000001 cfa42134 cf223e00 cfa89ec0
[ 19.414886] 3d20: cf222000 c065d20c 00000040 c037b1a4 c066d864 00000000 c066d290 ffffffff
[ 19.423126] 3d40: 00000001 c066d864 00080001 c066d270 c06fc0e0 000000d0 003fffff 000000d0
[ 19.431335] 3d60: 00000000 0000003c c066d860 cf808bc0 00000000 c00c5178 00000000 00000041
[ 19.439575] 3d80: c066d270 00000000 cf0c26c0 34363d98 c00bf938 c0062640 cf800540 c00e8118
[ 19.447814] 3da0: 00000000 000200d0 00000000 c066d864 00000041 fffffff1 00000017 cf8036c4
[ 19.456024] 3dc0: 00000001 cf223e04 00000000 fffffff1 00000000 cf8036c4 00000001 00000000
[ 19.464263] 3de0: 00000000 cf223e24 00000000 fffffff1 00000000 cf8036c4 00000001 00000000
[ 19.472473] 3e00: 00000001 ffffffff 00000000 00000000 01800000 00000001 0000001e 00000000
[ 19.480712] 3e20: 00000000 cf80d7a8 becf9cd4 cf223e38 c0489788 c0062640 22222222 cfa89ec0
[ 19.488952] 3e40: 00000000 cfa89ec0 cfa42150 c0361750 cf28cec0 cfa89ec0 cf28cec0 cfa89ec0
[ 19.497161] 3e60: 00000000 cf8a3820 bf00c774 00000040 becf9cd4 c0361808 c025f2dc cf800140
[ 19.505401] 3e80: cf800140 bf00c8c8 cf2529c8 cf8a11e8 bf00cbdc cf8a3820 cf8a3800 cf8a3804
[ 19.513641] 3ea0: bf00c688 c02bbeec 00000000 c0359474 cf8a3820 cf8a3854 cf8a3820 bf00cc30
[ 19.521850] 3ec0: c065cec4 c02bd00c c008d544 cf8a3820 cf8a3854 bf00cc30 cf223ef0 c02bd148
[ 19.530090] 3ee0: 00000000 c02bd0e8 bf00cc30 c02bc730 cf843478 cf89e6f0 c065cec4 cf8001c0
[ 19.538299] 3f00: bf00cd14 bf00cc30 cf0ac2c0 c02bc008 bf00caa0 cf223f20 bf00cc0c bf00cd14
[ 19.546539] 3f20: bf00cc30 00000000 c003c144 cf222000 00000008 c02bd468 bf00cc0c bf00cd14
[ 19.554779] 3f40: c065cec4 00000000 c003c144 c035a1ac 00000000 bf00cd14 bf010000 c003b384
[ 19.562988] 3f60: 00003bf4 bf00cd14 00000000 4001f000 c003c144 00000000 bf00cd14 00000000
[ 19.571228] 3f80: 4001f000 c00a00c0 00000003 cf104240 cf19fcc0 00000000 0001b4f0 00000000
[ 19.579467] 3fa0: 00000080 c003bfc0 00000000 0001b4f0 4001f000 00003bf4 0001b4f0 0001a6d8
[ 19.587677] 3fc0: 00000000 0001b4f0 00000000 00000080 0001b348 becf9cd4 00000008 becf9cd4
[ 19.595916] 3fe0: 0001b470 becf99d4 0000b4ec 400e9084 60000010 4001f000 e7070094 f5c030b1
[ 19.604156] [<c02959e4>] (regulator_enable+0x4/0x38) from [<00000003>] (0x3)
[ 19.611267] Code: e1a00005 e28dd004 e8bd8030 e92d4030 (e5904030)
[ 19.692687] twl_rtc twl_rtc: Enabling TWL-RTC.
[ 21.546173] ---[ end trace dbfac1f094ffc80c ]---
======================================================================================
It does come up to a prompt, but I have no devices on my USB - mUSB is connected to a
4 port HUB with keyboard+mouse+network devices. The board is powered by external +5V
I can see that the HUB is getting power (the network device has a LED which turns on)
Any ideas how to get the USB working? Note: this exact HUB+devices works on another
OMAP3530 platform I have here (non BeagleBoard), so it's something peculiar to the BB.
I confirmed that the image isn't bootable. It seems mkcard wasn't used to create it, so we'd need to either recreate it or hack it to make it work. I've been wanting to play with 'dd' a bit to see if I can make a card image bootable, so I took this opportunity.
$ hexdump rootfs.dd.img | head | tee MBR.txt
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
00001c0 01 00 0b fe ff ff 3f 00 00 00 20 a1 07 00 00 fe
00001d0 ff ff 83 fe ff ff 7e a1 07 00 49 1e 6e 00 00 00
00001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
0000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0007e00 eb 3c 90 42 53 44 20 20 34 2e 34 00 02 08 01 00
$ vim MBR.txt
$ xxd -r MBR.txt MBR
$ hexdump MBR
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 01
Hi,Over at [1] you can find a demo image that fits nicely into the nand of a revision C beagleboard with some 80MiB spare to install extra things. It is an Enlightenment based desktop with Midori as webbrowser, NetworkManager as well, the network manager, a VNc server is started by default and Jasons test scripts are included as well.
If you have requests for packages to get added or removed, let me know, but keep in mind there's only 256MiB of NAND and the LZO compression in ubifs doesn't do much for binaries.
On Wednesday, February 23, 2011 4:53:20 AM UTC-5, Koen Kooi wrote:Hi,Over at [1] you can find a demo image that fits nicely into the nand of a revision C beagleboard with some 80MiB spare to install extra things. It is an Enlightenment based desktop with Midori as webbrowser, NetworkManager as well, the network manager, a VNc server is started by default and Jasons test scripts are included as well.
If you have requests for packages to get added or removed, let me know, but keep in mind there's only 256MiB of NAND and the LZO compression in ubifs doesn't do much for binaries.Thanks for installing the test scripts. Here's my list (focused on getting the test scripts to work and then for the Matrix launcher with demos):
* sox
* alsa-utils-aplay
* ti-dsplink-examples
* i2c-tools
* memtester
* cpuburn-neon
* evtest
* matrix-gui
* kernel-module-omaplfb (not sure about the conflicts generated by this)
* kernel-module-bufferclass-ti
* matrix-gui-autostart
On Friday, February 25, 2011 11:38:48 AM UTC-5, Jason Kridner wrote:On Wednesday, February 23, 2011 4:53:20 AM UTC-5, Koen Kooi wrote:Hi,Over at [1] you can find a demo image that fits nicely into the nand of a revision C beagleboard with some 80MiB spare to install extra things. It is an Enlightenment based desktop with Midori as webbrowser, NetworkManager as well, the network manager, a VNc server is started by default and Jasons test scripts are included as well.
If you have requests for packages to get added or removed, let me know, but keep in mind there's only 256MiB of NAND and the LZO compression in ubifs doesn't do much for binaries.Thanks for installing the test scripts. Here's my list (focused on getting the test scripts to work and then for the Matrix launcher with demos):
* sox
* alsa-utils-aplay
* ti-dsplink-examples
* i2c-tools
* memtester
* cpuburn-neon
* evtest
* matrix-gui
* kernel-module-omaplfb (not sure about the conflicts generated by this)
* kernel-module-bufferclass-ti
* matrix-gui-autostart
Based on trying to update the kernel, I'd also recommend:
* mtd-utils