- loader.bin
bootcode.bin
start.elf
config.txt
kernel.img
I just had a kernel_old=1 line. Adding a test_mode=1 line makes it all work. What does this change? The kernel_old should call the old-version bootloader code, so what does test_mode change?badut wrote:What's in your config.txt? Does it do anything if you just put test_mode=1 in your config.txt?
I really meant 16Mb. All my kernels so far have been so small that this should work. I am trying to find a use for an old SD card, and protecting my main Raspbian card seemed like a good idea. Especially when I get around to implementing a filesystem...badut wrote:(btw, is it really 16Mb? or did you mean 16Gb?)
There could be the problem, it most likely not formating it as fat32, but fat16.emcsquirreled wrote:I just had a kernel_old=1 line. Adding a test_mode=1 line makes it all work. What does this change? The kernel_old should call the old-version bootloader code, so what does test_mode change?badut wrote:What's in your config.txt? Does it do anything if you just put test_mode=1 in your config.txt?
I really meant 16Mb. All my kernels so far have been so small that this should work. I am trying to find a use for an old SD card, and protecting my main Raspbian card seemed like a good idea. Especially when I get around to implementing a filesystem...badut wrote:(btw, is it really 16Mb? or did you mean 16Gb?)
According to the Disk Utility in Ubuntu 10.04 LTS:DexOS wrote:There could be the problem, it most likely not formating it as fat32, but fat16.
Make sure it is formated fat32.
I am sure i read Fat32 format requires 512MB min ?.
Code: Select all
Partition Type: W95 FAT32 (LBA) (0x0c)
Type: FAT (16-bit version)
Capacity: 15MB (14,892,544 bytes)
Code: Select all
kernel_old=1
test_mode=1
test_mode=1 is a test done when the boards where at the factory, it displays a image on screen and plays a sound, but it must do other stuff too, if it will not boot without it.emcsquirreled wrote:According to the Disk Utility in Ubuntu 10.04 LTS:DexOS wrote:There could be the problem, it most likely not formating it as fat32, but fat16.
Make sure it is formated fat32.
I am sure i read Fat32 format requires 512MB min ?.
So I guess the 512MB is not a requirement, but a recommendation. 15MB is WAY too small to do much with, but it is currently blinking away a SOS from Baking Pi's OK05 tutorial. This card is going to become the heart of a robotics controller, so it really does not need anything more intensive than GPIO access, register manipulation, and a bit of a stack.Code: Select all
Partition Type: W95 FAT32 (LBA) (0x0c) Type: FAT (16-bit version) Capacity: 15MB (14,892,544 bytes)
The problem was with the config.txt. It must look like this in order to run:
config.txtWhat does the test_mode flag do? I have not been able to find an explanation as to why it causes everything to go.Code: Select all
kernel_old=1 test_mode=1
It would seem that the test_mode flag *should* be unnecessary. I'm beginning to suspect something else is wrong, but I have not found it yet. Still looking...badut wrote:FWIW, I'm pretty sure I formatted my card as FAT (as opposed to FAT32).
I put the latest firmware files on there, created a config.txt with kernel_old=1 and never had a problem (just finished Baking Pi Screen01).
I don't need to have test_mode=1
I have zero technical data, besides the fact that some folks on this forum have mentioned either doing it or planning on doing it in the future. I am still learning how to think in ASM, so the filesystem is curently on a back-burner status. If I get one working, I'll probably throw it up here for people to take a look at, but don't hold your breath!badut wrote:BTW: You mentioned you are planning to implement a file system. Have you got technical info on how that could be done? I'm trying to find out how I can read/write to the SD card.
I was using an Ubuntu GUI program called Disk Utility. I am going to try again today with dd, as it might do something differently (it takes longer than the GUI app, so it must be doing something...)dwelch67 wrote:using windows or linux to format the card? HP has a good usb drive formatting tool that tends to do a good job, on linux you can do things like use dd if=/dev/zero to wipe out the file system. It may be gone though there may be something below the filesystem layer, something in hardware that might be upset...
The funny thing is, Ubuntu recognizes it, lets me reformat it, reads and writes files without complaining, and treats it just like it should. It is only the Pi which doesn't like it. This is strange, as it is the other SD card which got removed while powered on. That card still boots Raspbian just fine, but the card I inserted AFTER pulling the plug did not work, despite the fact that it had booted earlier and had not been changed.badut wrote:Does the 16Mb still work on other computers? can write and read data from windows machine for example?
That might help diagnose if it's toast.
Dun worry, you can get a new one 100 times bigger for a few bucks.
Even if it's not toast, it might be worth trying another card just to save you this time.