TODO list for each hardware target can be found as sticky topic in the corresponding forum
Updating U-Boot I have two IP02 boxes and I noticed that one takes a lot longer to boot than the other, which I thought was strange because they were ordered together. After attaching the JTAG, I realised that U-Boot was causing the delay. I also discovered that the faster one has U-Boot 2010.06 while the slower one has U-Boot 1.1.5, the same version that is distributed with Switchfin.
Edited By: Chewi Jul-06-11 16:31:36 |
|
|
Administrator has disabled public posting |
Re: Updating U-Boot I'm curious how did you manage to get ICEbear working with the IP02.
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot I don't have an ICEbear. It was your post I was referring to at the end of my first post. I have only tried this newer U-Boot temporarily with...
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot I've realised why the older U-Boot wouldn't actually boot. When I reflashed the kernel, I must have accidentally mistyped the bootargs value because it was console=ttyB0 rather than console=ttyBF0! I had to retype this when I first tried the newer U-Boot because it wasn't able to read from the SPI until I created that patch. After applying the patch, the newer U-Boot also stopped booting because it was reading the bad value. I got there in the end. |
|
|
Administrator has disabled public posting |
Re: Updating U-Boot I think that perhaps you are confusing the serial console with the JTAG. The Blackfin JTAG is a debugging interface that can also be used to load the u-boot. Once the u-boot has been loaded you can then use the serial console to load the software image via tftp.
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot Hi Guys,
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot I didn't want to commit the changes as they probably don't work for the BR4 or PR1. Here is the result of my work. Do you think you could take it from here?
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot No reply yet from David Rowe. I have made an interesting discovery though.
|
|
|
Administrator has disabled public posting |
Re: Updating U-BootI just checked and both my IP02 and IP08 systems have a W25X40 which is a 4Mbit (512 KByte) serial flash. The M25P80 is a 8Mbit (1 MByte) device. Shouldn't the source code reflect the device that appears to be used in the current production units? |
|
|
Administrator has disabled public posting |
Re: Updating U-BootIf there was a size difference then I think autodetection would be important. I see that you're right about the M25P80 being 8Mbit/1Mbyte but the hardcoded partition table only covers 512KB. Maybe only half of it was used? That would explain why they switched to a different one. |
|
|
Administrator has disabled public posting |
Re: Updating U-Boot Hi Guys,
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot
You don't mount them but /dev/mtd1 is used by the flashupdate script when updating U-Boot. As I mentioned above, this could be dangerous if it actually tries to write a file larger than 128KB. It could get truncated and that would brick an IP02. I was wondering about how U-Boot knows where in the SPI to store the environment. I just found these two variables in include/configs/ip04.h. Code:#define CONFIG_ENV_OFFSET 0x30000 I think this means it will store an environment of size 64KB at offset 192KB. Presumably this means that the U-Boot binary can be up to 192KB. But I still don't want to test that theory in a hurry! Still no word from David. Does he usually reply to such e-mails? |
|
|
Administrator has disabled public posting |
Re: Updating U-Boot Hi James,
|
|
|
Administrator has disabled public posting |
Re: Updating U-Boot
You mean in the version of U-Boot that's built by Switchfin at the moment? Are you sure because that's only 65KB? Your U-Boot binary is surely bigger than that? In any case, the boxes I must use 0x30000 because the newer binary that ATCOM provided is at least 128KB and my own binary was able to read the existing environment. |
|
|
Administrator has disabled public posting |
Re: Updating U-Boot Good news. I finally went for it on the older box........ IT WORKED! |
|
|
Administrator has disabled public posting |
- Index
- » Developers
- » General discussions
- » Updating U-Boot
Most Active Users
Board Info
- Board Stats: Total Users: 2587 Total Topics: 299 Total Polls: 1 Total Posts: 1727 Dormant
- User Info: Newest User : user2553 Members Online: 0 Guests Online: 236
- Online There are no members online
- Topic
- New
- Locked
- Sticky
- Active
- New/Active
- New/Locked
- New Sticky
- Locked/Active
- Active/Sticky
- Sticky/Locked
- Sticky/Active/Locked